home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1998-10-13 | 23.1 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Oct 13 06:00:00 1998, modified Tue Oct 13 06:00:00 1998, creator 'CWIE', type ASCII, 22798 bytes "TemplateCompatibility.h" , at 0x598e 614 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 54 65 6d 70 6c 61 | 74 65 43 6f 6d 70 61 74 |..Templa|teCompat|
|00000010| 69 62 69 6c 69 74 79 2e | 68 00 00 00 00 00 00 00 |ibility.|h.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 59 0e 00 | 00 02 66 b2 48 d5 20 b2 |.....Y..|..f.H. .|
|00000060| 48 d5 20 00 00 0c 00 00 | 00 00 00 00 00 00 00 00 |H. .....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 de 0c 00 00 |........|........|
|00000080| 2f 2f 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |//------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 2f 2f 20 54 65 |--------|--.// Te|
|000000e0| 6d 70 6c 61 74 65 43 6f | 6d 70 61 74 69 62 69 6c |mplateCo|mpatibil|
|000000f0| 69 74 79 2e 68 0d 2f 2f | 20 43 6f 70 79 72 69 67 |ity.h.//| Copyrig|
|00000100| 68 74 20 a9 20 31 39 38 | 35 2d 39 38 20 62 79 20 |ht . 198|5-98 by |
|00000110| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000120| 49 6e 63 2e 20 41 6c 6c | 20 72 69 67 68 74 73 20 |Inc. All| rights |
|00000130| 72 65 73 65 72 76 65 64 | 2e 0d 2f 2f 2d 2d 2d 2d |reserved|..//----|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000190| 2d 2d 2d 2d 0d 0d 2f 2a | 0d 09 43 68 61 6e 67 65 |----../*|..Change|
|000001a0| 20 48 69 73 74 6f 72 79 | 3a 0d 2a 2f 0d 0d 2f 2f | History|:.*/..//|
|000001b0| 20 54 68 69 73 20 66 69 | 6c 65 20 63 6f 6e 74 61 | This fi|le conta|
|000001c0| 69 6e 73 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |ins comp|atibilit|
|000001d0| 79 20 74 79 70 65 64 65 | 66 73 2c 20 64 65 66 69 |y typede|fs, defi|
|000001e0| 6e 65 73 2c 20 61 6e 64 | 20 63 6c 61 73 73 65 73 |nes, and| classes|
|000001f0| 20 74 6f 20 65 61 73 65 | 20 63 6f 6e 76 65 72 73 | to ease| convers|
|00000200| 69 6f 6e 0d 2f 2f 20 62 | 65 74 77 65 65 6e 20 65 |ion.// b|etween e|
|00000210| 61 72 6c 69 65 72 20 76 | 65 72 73 69 6f 6e 73 20 |arlier v|ersions |
|00000220| 6f 66 20 4d 61 63 41 70 | 70 20 61 6e 64 20 74 68 |of MacAp|p and th|
|00000230| 65 20 63 75 72 72 65 6e | 74 20 76 65 72 73 69 6f |e curren|t versio|
|00000240| 6e 2e 20 20 59 6f 75 20 | 6d 61 79 20 6d 6f 64 69 |n. You |may modi|
|00000250| 66 79 20 69 74 73 20 63 | 6f 6e 74 65 6e 74 73 0d |fy its c|ontents.|
|00000260| 2f 2f 20 61 73 20 79 6f | 75 72 20 63 6f 6e 76 65 |// as yo|ur conve|
|00000270| 72 73 69 6f 6e 20 70 72 | 6f 63 65 65 64 73 2c 20 |rsion pr|oceeds, |
|00000280| 74 6f 20 72 65 6d 6f 76 | 65 20 69 74 65 6d 73 20 |to remov|e items |
|00000290| 74 68 61 74 20 68 61 76 | 65 20 62 65 65 6e 20 66 |that hav|e been f|
|000002a0| 75 6c 6c 79 20 63 6f 6e | 76 65 72 74 65 64 2c 20 |ully con|verted, |
|000002b0| 6f 72 20 74 6f 20 61 64 | 64 20 0d 2f 2f 20 69 74 |or to ad|d .// it|
|000002c0| 65 6d 73 20 74 6f 20 6d | 61 6b 65 20 79 6f 75 72 |ems to m|ake your|
|000002d0| 20 63 6f 64 65 20 6d 6f | 72 65 20 63 6f 6d 70 61 | code mo|re compa|
|000002e0| 74 69 62 6c 65 20 77 69 | 74 68 20 74 68 65 20 63 |tible wi|th the c|
|000002f0| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 2e 0d |urrent v|ersion..|
|00000300| 2f 2f 0d 2f 2f 20 49 66 | 20 79 6f 75 72 20 70 72 |//.// If| your pr|
|00000310| 6f 6a 65 63 74 20 73 6f | 75 72 63 65 20 63 6f 64 |oject so|urce cod|
|00000320| 65 20 6d 75 73 74 20 73 | 70 61 6e 20 6d 75 6c 74 |e must s|pan mult|
|00000330| 69 70 6c 65 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |iple ver|sions of|
|00000340| 20 4d 61 63 41 70 70 2c | 20 79 6f 75 20 6d 61 79 | MacApp,| you may|
|00000350| 20 77 61 6e 74 20 74 6f | 0d 2f 2f 20 61 75 67 6d | want to|.// augm|
|00000360| 65 6e 74 20 74 68 69 73 | 20 66 69 6c 65 20 77 69 |ent this| file wi|
|00000370| 74 68 20 6f 74 68 65 72 | 20 63 6f 6d 70 61 74 69 |th other| compati|
|00000380| 62 69 6c 69 74 79 20 6d | 61 63 72 6f 73 20 74 6f |bility m|acros to|
|00000390| 20 61 6c 6c 6f 77 20 79 | 6f 75 20 63 6f 64 65 20 | allow y|ou code |
|000003a0| 74 6f 20 77 6f 72 6b 20 | 77 69 74 68 0d 2f 2f 20 |to work |with.// |
|000003b0| 6d 75 6c 74 69 70 6c 65 | 20 76 65 72 73 69 6f 6e |multiple| version|
|000003c0| 73 20 6f 66 20 4d 61 63 | 41 70 70 20 28 74 65 73 |s of Mac|App (tes|
|000003d0| 74 20 71 4d 61 63 41 70 | 70 56 65 72 73 69 6f 6e |t qMacAp|pVersion|
|000003e0| 29 2c 20 6f 72 20 77 69 | 74 68 20 6f 74 68 65 72 |), or wi|th other|
|000003f0| 20 66 72 61 6d 65 77 6f | 72 6b 73 20 28 74 65 73 | framewo|rks (tes|
|00000400| 74 20 71 4d 61 63 41 70 | 70 29 2e 0d 2f 2f 0d 2f |t qMacAp|p)..//./|
|00000410| 2f 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 61 |/ This f|ile is a|
|00000420| 20 63 6f 6d 70 61 6e 69 | 6f 6e 20 74 6f 20 74 68 | compani|on to th|
|00000430| 65 20 63 6f 6d 70 69 6c | 65 20 66 6c 61 67 20 71 |e compil|e flag q|
|00000440| 42 61 63 6b 77 61 72 64 | 43 6f 6d 70 61 74 69 62 |Backward|Compatib|
|00000450| 6c 65 2c 20 77 68 69 63 | 68 20 61 6c 73 6f 20 6d |le, whic|h also m|
|00000460| 61 6b 65 73 20 6d 65 6d | 62 65 72 0d 2f 2f 20 64 |akes mem|ber.// d|
|00000470| 61 74 61 20 70 75 62 6c | 69 63 20 69 6e 20 4d 61 |ata publ|ic in Ma|
|00000480| 63 41 70 70 20 63 6c 61 | 73 73 65 73 2c 20 61 6e |cApp cla|sses, an|
|00000490| 64 20 64 65 66 69 6e 65 | 73 20 69 6e 6c 69 6e 65 |d define|s inline|
|000004a0| 64 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 6f 62 |d versio|ns of ob|
|000004b0| 73 6f 6c 65 74 65 20 4d | 61 63 41 70 70 20 63 6c |solete M|acApp cl|
|000004c0| 61 73 73 20 6d 65 74 68 | 6f 64 73 2e 0d 0d 23 69 |ass meth|ods...#i|
|000004d0| 66 6e 64 65 66 20 5f 5f | 54 65 6d 70 6c 61 74 65 |fndef __|Template|
|000004e0| 43 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 5f 5f 0d |Compatib|ility__.|
|000004f0| 23 64 65 66 69 6e 65 20 | 5f 5f 54 65 6d 70 6c 61 |#define |__Templa|
|00000500| 74 65 43 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 5f |teCompat|ibility_|
|00000510| 5f 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 4d 41 43 |_..#ifnd|ef __MAC|
|00000520| 41 50 50 54 59 50 45 53 | 5f 5f 0d 23 69 6e 63 6c |APPTYPES|__.#incl|
|00000530| 75 64 65 20 22 4d 61 63 | 41 70 70 54 79 70 65 73 |ude "Mac|AppTypes|
|00000540| 2e 68 22 0d 23 65 6e 64 | 69 66 0d 0d 23 69 66 6e |.h".#end|if..#ifn|
|00000550| 64 65 66 20 5f 5f 4d 41 | 43 41 50 50 56 45 52 53 |def __MA|CAPPVERS|
|00000560| 49 4f 4e 5f 5f 0d 23 69 | 6e 63 6c 75 64 65 20 22 |ION__.#i|nclude "|
|00000570| 4d 61 63 41 70 70 56 65 | 72 73 69 6f 6e 2e 68 22 |MacAppVe|rsion.h"|
|00000580| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 64 65 66 20 |.#endif.|.#ifdef |
|00000590| 4d 41 43 41 50 50 5f 52 | 5f 31 33 0d 0d 23 69 66 |MACAPP_R|_13..#if|
|000005a0| 20 64 65 66 69 6e 65 64 | 28 71 42 61 63 6b 77 61 | defined|(qBackwa|
|000005b0| 72 64 43 6f 6d 70 61 74 | 69 62 6c 65 29 20 26 26 |rdCompat|ible) &&|
|000005c0| 20 21 71 42 61 63 6b 77 | 61 72 64 43 6f 6d 70 61 | !qBackw|ardCompa|
|000005d0| 74 69 62 6c 65 0d 23 65 | 72 72 6f 72 20 22 41 64 |tible.#e|rror "Ad|
|000005e0| 64 20 27 23 64 65 66 69 | 6e 65 20 71 42 61 63 6b |d '#defi|ne qBack|
|000005f0| 77 61 72 64 43 6f 6d 70 | 61 74 69 62 6c 65 20 30 |wardComp|atible 0|
|00000600| 27 20 74 6f 20 41 75 74 | 6f 53 77 69 74 63 68 65 |' to Aut|oSwitche|
|00000610| 73 5f 41 43 2e 68 20 74 | 6f 20 6d 61 6b 65 20 64 |s_AC.h t|o make d|
|00000620| 61 74 61 20 6d 65 6d 62 | 65 72 73 20 70 75 62 6c |ata memb|ers publ|
|00000630| 69 63 20 61 6e 64 20 74 | 6f 20 64 65 66 69 6e 65 |ic and t|o define|
|00000640| 20 6f 62 73 6f 6c 65 74 | 65 20 6d 65 74 68 6f 64 | obsolet|e method|
|00000650| 73 22 0d 23 65 6e 64 69 | 66 0d 0d 23 69 66 6e 64 |s".#endi|f..#ifnd|
|00000660| 65 66 20 5f 5f 43 50 6f | 69 6e 74 5f 41 43 5f 5f |ef __CPo|int_AC__|
|00000670| 0d 23 69 6e 63 6c 75 64 | 65 20 22 43 50 6f 69 6e |.#includ|e "CPoin|
|00000680| 74 5f 41 43 2e 68 22 0d | 23 65 6e 64 69 66 0d 0d |t_AC.h".|#endif..|
|00000690| 23 69 66 6e 64 65 66 20 | 5f 5f 43 52 65 63 74 5f |#ifndef |__CRect_|
|000006a0| 41 43 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 22 43 |AC__.#in|clude "C|
|000006b0| 52 65 63 74 5f 41 43 2e | 68 22 0d 23 65 6e 64 69 |Rect_AC.|h".#endi|
|000006c0| 66 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 55 47 45 |f..#ifnd|ef __UGE|
|000006d0| 4f 4d 45 54 52 59 5f 5f | 0d 23 69 6e 63 6c 75 64 |OMETRY__|.#includ|
|000006e0| 65 20 22 55 47 65 6f 6d | 65 74 72 79 2e 68 22 0d |e "UGeom|etry.h".|
|000006f0| 23 65 6e 64 69 66 0d 0d | 23 69 66 6e 64 65 66 20 |#endif..|#ifndef |
|00000700| 5f 5f 46 69 6c 65 54 79 | 70 65 73 5f 41 43 5f 5f |__FileTy|pes_AC__|
|00000710| 0d 23 69 6e 63 6c 75 64 | 65 20 22 46 69 6c 65 54 |.#includ|e "FileT|
|00000720| 79 70 65 73 5f 41 43 2e | 68 22 0d 23 65 6e 64 69 |ypes_AC.|h".#endi|
|00000730| 66 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 43 52 47 |f..#ifnd|ef __CRG|
|00000740| 42 43 6f 6c 6f 72 5f 41 | 43 5f 5f 0d 23 69 6e 63 |BColor_A|C__.#inc|
|00000750| 6c 75 64 65 20 22 43 52 | 47 42 43 6f 6c 6f 72 5f |lude "CR|GBColor_|
|00000760| 41 43 2e 68 22 0d 23 65 | 6e 64 69 66 0d 0d 23 69 |AC.h".#e|ndif..#i|
|00000770| 66 6e 64 65 66 20 5f 5f | 43 54 65 78 74 53 74 79 |fndef __|CTextSty|
|00000780| 6c 65 5f 41 43 5f 5f 0d | 23 69 6e 63 6c 75 64 65 |le_AC__.|#include|
|00000790| 20 22 43 54 65 78 74 53 | 74 79 6c 65 5f 41 43 2e | "CTextS|tyle_AC.|
|000007a0| 68 22 0d 23 65 6e 64 69 | 66 0d 0d 23 69 66 6e 64 |h".#endi|f..#ifnd|
|000007b0| 65 66 20 5f 5f 43 46 53 | 53 70 65 63 5f 41 43 5f |ef __CFS|Spec_AC_|
|000007c0| 5f 0d 23 69 6e 63 6c 75 | 64 65 20 22 43 46 53 53 |_.#inclu|de "CFSS|
|000007d0| 70 65 63 5f 41 43 2e 68 | 22 0d 23 65 6e 64 69 66 |pec_AC.h|".#endif|
|000007e0| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 5f 43 48 61 6e |..#ifnde|f __CHan|
|000007f0| 64 6c 65 5f 41 43 5f 5f | 0d 23 69 6e 63 6c 75 64 |dle_AC__|.#includ|
|00000800| 65 20 22 43 48 61 6e 64 | 6c 65 5f 41 43 2e 68 22 |e "CHand|le_AC.h"|
|00000810| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 6e 64 65 66 |.#endif.|.#ifndef|
|00000820| 20 5f 5f 43 46 69 6c 65 | 5f 41 43 5f 5f 0d 23 69 | __CFile|_AC__.#i|
|00000830| 6e 63 6c 75 64 65 20 22 | 43 46 69 6c 65 5f 41 43 |nclude "|CFile_AC|
|00000840| 2e 68 22 0d 23 65 6e 64 | 69 66 0d 0d 23 69 66 6e |.h".#end|if..#ifn|
|00000850| 64 65 66 20 5f 5f 43 50 | 61 73 63 61 6c 53 74 72 |def __CP|ascalStr|
|00000860| 69 6e 67 5f 41 43 5f 5f | 0d 23 69 6e 63 6c 75 64 |ing_AC__|.#includ|
|00000870| 65 20 22 43 50 61 73 63 | 61 6c 53 74 72 69 6e 67 |e "CPasc|alString|
|00000880| 5f 41 43 2e 68 22 0d 23 | 65 6e 64 69 66 0d 0d 23 |_AC.h".#|endif..#|
|00000890| 69 66 6e 64 65 66 20 5f | 5f 54 65 78 74 42 6f 78 |ifndef _|_TextBox|
|000008a0| 5f 41 43 5f 5f 0d 23 69 | 6e 63 6c 75 64 65 20 22 |_AC__.#i|nclude "|
|000008b0| 54 65 78 74 42 6f 78 5f | 41 43 2e 68 22 0d 23 65 |TextBox_|AC.h".#e|
|000008c0| 6e 64 69 66 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |ndif..#i|fndef __|
|000008d0| 43 54 65 6d 70 52 65 67 | 69 6f 6e 5f 41 43 5f 5f |CTempReg|ion_AC__|
|000008e0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 43 54 65 6d 70 |.#includ|e "CTemp|
|000008f0| 52 65 67 69 6f 6e 5f 41 | 43 2e 68 22 0d 23 65 6e |Region_A|C.h".#en|
|00000900| 64 69 66 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 43 |dif..#if|ndef __C|
|00000910| 52 65 70 6f 72 74 65 72 | 5f 41 43 5f 5f 0d 23 69 |Reporter|_AC__.#i|
|00000920| 6e 63 6c 75 64 65 20 22 | 43 52 65 70 6f 72 74 65 |nclude "|CReporte|
|00000930| 72 5f 41 43 2e 68 22 0d | 23 65 6e 64 69 66 0d 0d |r_AC.h".|#endif..|
|00000940| 23 69 66 6e 64 65 66 20 | 5f 5f 4d 53 54 52 45 41 |#ifndef |__MSTREA|
|00000950| 4d 41 42 4c 45 5f 41 43 | 5f 5f 0d 23 69 6e 63 6c |MABLE_AC|__.#incl|
|00000960| 75 64 65 20 22 4d 53 74 | 72 65 61 6d 61 62 6c 65 |ude "MSt|reamable|
|00000970| 5f 41 43 2e 68 22 0d 23 | 65 6e 64 69 66 0d 0d 23 |_AC.h".#|endif..#|
|00000980| 69 66 6e 64 65 66 20 5f | 5f 4d 44 65 70 65 6e 64 |ifndef _|_MDepend|
|00000990| 61 62 6c 65 5f 41 43 5f | 5f 0d 23 69 6e 63 6c 75 |able_AC_|_.#inclu|
|000009a0| 64 65 20 22 4d 44 65 70 | 65 6e 64 61 62 6c 65 5f |de "MDep|endable_|
|000009b0| 41 43 2e 68 22 0d 23 65 | 6e 64 69 66 0d 0d 23 69 |AC.h".#e|ndif..#i|
|000009c0| 66 6e 64 65 66 20 5f 5f | 43 44 65 70 65 6e 64 65 |fndef __|CDepende|
|000009d0| 6e 63 69 65 73 5f 41 43 | 5f 5f 0d 23 69 6e 63 6c |ncies_AC|__.#incl|
|000009e0| 75 64 65 20 22 43 44 65 | 70 65 6e 64 65 6e 63 69 |ude "CDe|pendenci|
|000009f0| 65 73 5f 41 43 2e 68 22 | 0d 23 65 6e 64 69 66 0d |es_AC.h"|.#endif.|
|00000a00| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 43 4c 69 73 74 |.#ifndef| __CList|
|00000a10| 49 74 65 72 61 74 6f 72 | 5f 41 43 5f 5f 0d 23 69 |Iterator|_AC__.#i|
|00000a20| 6e 63 6c 75 64 65 20 22 | 43 4c 69 73 74 49 74 65 |nclude "|CListIte|
|00000a30| 72 61 74 6f 72 5f 41 43 | 2e 68 22 0d 23 65 6e 64 |rator_AC|.h".#end|
|00000a40| 69 66 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 43 53 |if..#ifn|def __CS|
|00000a50| 74 72 65 61 6d 43 6f 6e | 74 65 78 74 5f 41 43 5f |treamCon|text_AC_|
|00000a60| 5f 0d 23 69 6e 63 6c 75 | 64 65 20 22 43 53 74 72 |_.#inclu|de "CStr|
|00000a70| 65 61 6d 43 6f 6e 74 65 | 78 74 5f 41 43 2e 68 22 |eamConte|xt_AC.h"|
|00000a80| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 6e 64 65 66 |.#endif.|.#ifndef|
|00000a90| 20 5f 5f 50 6c 61 74 66 | 6f 72 6d 4d 65 6d 6f 72 | __Platf|ormMemor|
|00000aa0| 79 5f 5f 0d 23 69 6e 63 | 6c 75 64 65 20 22 50 6c |y__.#inc|lude "Pl|
|00000ab0| 61 74 66 6f 72 6d 4d 65 | 6d 6f 72 79 2e 68 22 0d |atformMe|mory.h".|
|00000ac0| 23 65 6e 64 69 66 0d 0d | 23 69 66 6e 64 65 66 20 |#endif..|#ifndef |
|00000ad0| 5f 5f 52 65 73 46 69 6c | 65 55 74 69 6c 73 5f 41 |__ResFil|eUtils_A|
|00000ae0| 43 5f 5f 0d 23 69 6e 63 | 6c 75 64 65 20 22 52 65 |C__.#inc|lude "Re|
|00000af0| 73 46 69 6c 65 55 74 69 | 6c 73 5f 41 43 2e 68 22 |sFileUti|ls_AC.h"|
|00000b00| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 6e 64 65 66 |.#endif.|.#ifndef|
|00000b10| 20 5f 5f 55 44 49 41 4c | 4f 47 56 49 45 57 5f 5f | __UDIAL|OGVIEW__|
|00000b20| 0d 23 69 6e 63 6c 75 64 | 65 20 22 55 44 69 61 6c |.#includ|e "UDial|
|00000b30| 6f 67 56 69 65 77 2e 68 | 22 0d 23 65 6e 64 69 66 |ogView.h|".#endif|
|00000b40| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 5f 49 6d 61 67 |..#ifnde|f __Imag|
|00000b50| 69 6e 67 53 74 72 65 61 | 6d 69 6e 67 5f 41 43 5f |ingStrea|ming_AC_|
|00000b60| 5f 0d 23 69 6e 63 6c 75 | 64 65 20 22 49 6d 61 67 |_.#inclu|de "Imag|
|00000b70| 69 6e 67 53 74 72 65 61 | 6d 69 6e 67 5f 41 43 2e |ingStrea|ming_AC.|
|00000b80| 68 22 0d 23 65 6e 64 69 | 66 0d 0d 23 69 66 6e 64 |h".#endi|f..#ifnd|
|00000b90| 65 66 20 5f 5f 43 45 78 | 63 65 70 74 69 6f 6e 5f |ef __CEx|ception_|
|00000ba0| 41 43 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 22 43 |AC__.#in|clude "C|
|00000bb0| 45 78 63 65 70 74 69 6f | 6e 5f 41 43 2e 68 22 0d |Exceptio|n_AC.h".|
|00000bc0| 23 65 6e 64 69 66 0d 0d | 23 69 66 6e 64 65 66 20 |#endif..|#ifndef |
|00000bd0| 5f 5f 55 44 45 53 49 47 | 4e 41 54 4f 52 5f 5f 0d |__UDESIG|NATOR__.|
|00000be0| 23 69 6e 63 6c 75 64 65 | 20 22 55 44 65 73 69 67 |#include| "UDesig|
|00000bf0| 6e 61 74 6f 72 2e 68 22 | 0d 23 65 6e 64 69 66 0d |nator.h"|.#endif.|
|00000c00| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 55 47 52 49 44 |.#ifndef| __UGRID|
|00000c10| 56 49 45 57 5f 5f 0d 23 | 69 6e 63 6c 75 64 65 20 |VIEW__.#|include |
|00000c20| 22 55 47 72 69 64 56 69 | 65 77 2e 68 22 0d 23 65 |"UGridVi|ew.h".#e|
|00000c30| 6e 64 69 66 0d 0d 2f 2f | 20 53 74 75 66 66 20 74 |ndif..//| Stuff t|
|00000c40| 68 61 74 20 67 6f 74 20 | 6d 6f 76 65 64 20 67 65 |hat got |moved ge|
|00000c50| 74 73 20 61 75 74 6f 6d | 61 67 69 63 61 6c 6c 79 |ts autom|agically|
|00000c60| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 68 65 72 | include|d in her|
|00000c70| 65 2e 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 55 53 |e...#ifn|def __US|
|00000c80| 55 42 53 54 49 54 55 54 | 49 4f 4e 5f 5f 0d 23 69 |UBSTITUT|ION__.#i|
|00000c90| 6e 63 6c 75 64 65 20 22 | 55 53 75 62 73 74 69 74 |nclude "|USubstit|
|00000ca0| 75 74 69 6f 6e 2e 68 22 | 0d 23 65 6e 64 69 66 0d |ution.h"|.#endif.|
|00000cb0| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 55 46 49 4c 45 |.#ifndef| __UFILE|
|00000cc0| 53 54 52 45 41 4d 5f 5f | 0d 23 69 6e 63 6c 75 64 |STREAM__|.#includ|
|00000cd0| 65 20 22 55 46 69 6c 65 | 53 74 72 65 61 6d 2e 68 |e "UFile|Stream.h|
|00000ce0| 22 0d 23 65 6e 64 69 66 | 0d 0d 23 69 6e 63 6c 75 |".#endif|..#inclu|
|00000cf0| 64 65 20 3c 54 79 70 65 | 73 2e 68 3e 0d 0d 2f 2f |de <Type|s.h>..//|
|00000d00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d50| 3d 3d 3d 3d 3d 3d 3d 3d | 0d 2f 2f 20 54 68 65 20 |========|.// The |
|00000d60| 66 6f 6c 6c 6f 77 69 6e | 67 20 6f 6c 64 20 4d 61 |followin|g old Ma|
|00000d70| 63 41 70 70 20 74 79 70 | 65 73 20 61 72 65 20 64 |cApp typ|es are d|
|00000d80| 65 66 69 6e 65 64 20 66 | 6f 72 20 62 61 63 6b 77 |efined f|or backw|
|00000d90| 61 72 64 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |ard comp|atibilit|
|00000da0| 79 2e 0d 2f 2f 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |y..//===|========|
|00000db0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000dc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000dd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000de0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000df0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0d 0d 2f |========|=====../|
|00000e00| 2f 20 4f 62 73 6f 6c 65 | 74 65 20 68 65 61 64 65 |/ Obsole|te heade|
|00000e10| 72 20 66 69 6c 65 73 3a | 20 0d 2f 2f 20 64 65 66 |r files:| .// def|
|00000e20| 69 6e 65 73 20 61 72 65 | 20 70 72 6f 76 69 64 65 |ines are| provide|
|00000e30| 64 20 68 65 72 65 20 73 | 6f 20 74 68 65 20 6f 62 |d here s|o the ob|
|00000e40| 73 6f 6c 65 74 65 20 69 | 6e 63 6c 75 64 65 73 20 |solete i|ncludes |
|00000e50| 63 61 6e 20 62 65 20 73 | 6b 69 70 70 65 64 20 6f |can be s|kipped o|
|00000e60| 76 65 72 20 69 6e 20 79 | 6f 75 72 20 63 6f 64 65 |ver in y|our code|
|00000e70| 2e 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 47 45 4f |...#ifnd|ef __GEO|
|00000e80| 4d 45 54 52 59 5f 5f 0d | 23 64 65 66 69 6e 65 20 |METRY__.|#define |
|00000e90| 5f 5f 47 45 4f 4d 45 54 | 52 59 5f 5f 09 09 2f 2f |__GEOMET|RY__..//|
|00000ea0| 20 75 73 65 20 43 50 6f | 69 6e 74 5f 41 43 20 61 | use CPo|int_AC a|
|00000eb0| 6e 64 20 43 52 65 63 74 | 5f 41 43 20 69 6e 20 41 |nd CRect|_AC in A|
|00000ec0| 43 53 20 69 6d 61 67 69 | 6e 67 0d 23 65 6e 64 69 |CS imagi|ng.#endi|
|00000ed0| 66 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 50 41 53 |f..#ifnd|ef __PAS|
|00000ee0| 43 41 4c 53 54 52 49 4e | 47 5f 5f 0d 23 64 65 66 |CALSTRIN|G__.#def|
|00000ef0| 69 6e 65 20 5f 5f 50 41 | 53 43 41 4c 53 54 52 49 |ine __PA|SCALSTRI|
|00000f00| 4e 47 5f 5f 09 2f 2f 20 | 75 73 65 20 43 50 61 73 |NG__.// |use CPas|
|00000f10| 63 61 6c 53 74 72 69 6e | 67 5f 41 43 20 69 6e 20 |calStrin|g_AC in |
|00000f20| 41 43 53 20 63 6f 72 65 | 0d 23 65 6e 64 69 66 0d |ACS core|.#endif.|
|00000f30| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 55 44 45 50 45 |.#ifndef| __UDEPE|
|00000f40| 4e 44 45 4e 43 49 45 53 | 5f 5f 0d 23 64 65 66 69 |NDENCIES|__.#defi|
|00000f50| 6e 65 20 5f 5f 55 44 45 | 50 45 4e 44 45 4e 43 49 |ne __UDE|PENDENCI|
|00000f60| 45 53 5f 5f 09 2f 2f 20 | 75 73 65 20 43 44 65 70 |ES__.// |use CDep|
|00000f70| 65 6e 64 65 6e 63 69 65 | 73 5f 41 43 20 69 6e 20 |endencie|s_AC in |
|00000f80| 41 43 53 20 70 61 74 74 | 65 72 6e 73 0d 23 65 6e |ACS patt|erns.#en|
|00000f90| 64 69 66 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 55 |dif..#if|ndef __U|
|00000fa0| 46 41 49 4c 55 52 45 5f | 5f 0d 23 64 65 66 69 6e |FAILURE_|_.#defin|
|00000fb0| 65 20 5f 5f 55 46 41 49 | 4c 55 52 45 5f 5f 09 09 |e __UFAI|LURE__..|
|00000fc0| 2f 2f 20 75 73 65 20 43 | 45 78 63 65 70 74 69 6f |// use C|Exceptio|
|00000fd0| 6e 5f 41 43 20 69 6e 20 | 41 43 53 20 63 6f 72 65 |n_AC in |ACS core|
|00000fe0| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 6e 64 65 66 |.#endif.|.#ifndef|
|00000ff0| 20 5f 5f 55 49 54 45 52 | 41 54 4f 52 5f 5f 0d 23 | __UITER|ATOR__.#|
|00001000| 64 65 66 69 6e 65 20 5f | 5f 55 49 54 45 52 41 54 |define _|_UITERAT|
|00001010| 4f 52 5f 5f 09 09 2f 2f | 20 75 73 65 20 43 49 74 |OR__..//| use CIt|
|00001020| 65 72 61 74 6f 72 5f 41 | 43 20 69 6e 20 41 43 53 |erator_A|C in ACS|
|00001030| 20 63 6f 6e 74 61 69 6e | 65 72 73 0d 23 65 6e 64 | contain|ers.#end|
|00001040| 69 66 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 55 4c |if..#ifn|def __UL|
|00001050| 49 53 54 5f 5f 0d 23 64 | 65 66 69 6e 65 20 5f 5f |IST__.#d|efine __|
|00001060| 55 4c 49 53 54 5f 5f 09 | 09 09 2f 2f 20 75 73 65 |ULIST__.|..// use|
|00001070| 20 43 4c 69 73 74 5f 41 | 43 20 69 6e 20 41 43 53 | CList_A|C in ACS|
|00001080| 20 63 6f 6e 74 61 69 6e | 65 72 73 0d 23 65 6e 64 | contain|ers.#end|
|00001090| 69 66 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 55 4c |if..#ifn|def __UL|
|000010a0| 49 53 54 49 54 45 52 41 | 54 4f 52 5f 5f 0d 23 64 |ISTITERA|TOR__.#d|
|000010b0| 65 66 69 6e 65 20 5f 5f | 55 4c 49 53 54 49 54 45 |efine __|ULISTITE|
|000010c0| 52 41 54 4f 52 5f 5f 09 | 2f 2f 20 75 73 65 20 43 |RATOR__.|// use C|
|000010d0| 4c 69 73 74 49 74 65 72 | 61 74 6f 72 5f 41 43 20 |ListIter|ator_AC |
|000010e0| 69 6e 20 41 43 53 20 63 | 6f 6e 74 61 69 6e 65 72 |in ACS c|ontainer|
|000010f0| 73 0d 23 65 6e 64 69 66 | 0d 0d 23 69 66 6e 64 65 |s.#endif|..#ifnde|
|00001100| 66 20 5f 5f 55 4f 42 4a | 45 43 54 5f 5f 0d 23 64 |f __UOBJ|ECT__.#d|
|00001110| 65 66 69 6e 65 20 5f 5f | 55 4f 42 4a 45 43 54 5f |efine __|UOBJECT_|
|00001120| 5f 09 09 09 2f 2f 20 72 | 65 6d 6f 76 65 20 61 6c |_...// r|emove al|
|00001130| 6c 20 69 6e 63 6c 75 64 | 65 73 20 6f 66 20 55 4f |l includ|es of UO|
|00001140| 62 6a 65 63 74 2e 68 2e | 0d 23 65 6e 64 69 66 0d |bject.h.|.#endif.|
|00001150| 0d 0d 2f 2f 20 44 65 66 | 69 6e 65 73 20 66 6f 72 |..// Def|ines for|
|00001160| 20 69 74 65 72 61 74 6f | 72 73 2e 20 20 0d 2f 2f | iterato|rs. .//|
|00001170| 20 4e 2e 62 2e 2c 20 46 | 69 72 73 74 44 6f 63 75 | N.b., F|irstDocu|
|00001180| 6d 65 6e 74 20 61 6e 64 | 20 4e 65 78 74 44 6f 63 |ment and| NextDoc|
|00001190| 75 6d 65 6e 74 20 63 61 | 6e 20 6f 6e 6c 79 20 62 |ument ca|n only b|
|000011a0| 65 20 64 65 66 69 6e 65 | 64 20 69 66 20 75 73 69 |e define|d if usi|
|000011b0| 6e 67 20 70 72 65 63 6f | 6d 70 69 6c 65 64 20 68 |ng preco|mpiled h|
|000011c0| 65 61 64 65 72 73 20 66 | 6f 72 20 4d 61 63 41 70 |eaders f|or MacAp|
|000011d0| 70 2c 0d 2f 2f 20 6f 74 | 68 65 72 77 69 73 65 20 |p,.// ot|herwise |
|000011e0| 74 68 65 72 65 20 77 69 | 6c 6c 20 62 65 20 61 20 |there wi|ll be a |
|000011f0| 63 6f 6e 66 6c 69 63 74 | 20 77 69 74 68 20 6d 65 |conflict| with me|
|00001200| 74 68 6f 64 20 6e 61 6d | 65 73 20 69 6e 20 61 20 |thod nam|es in a |
|00001210| 4d 61 63 41 70 70 20 68 | 65 61 64 65 72 20 66 69 |MacApp h|eader fi|
|00001220| 6c 65 20 66 6f 72 20 61 | 6e 20 69 74 65 72 61 74 |le for a|n iterat|
|00001230| 6f 72 2e 0d 0d 23 64 65 | 66 69 6e 65 20 4d 6f 72 |or...#de|fine Mor|
|00001240| 65 09 09 09 09 09 09 09 | 43 75 72 72 65 6e 74 0d |e.......|Current.|
|00001250| 23 64 65 66 69 6e 65 20 | 46 69 72 73 74 44 6f 63 |#define |FirstDoc|
|00001260| 75 6d 65 6e 74 09 09 09 | 09 09 46 69 72 73 74 0d |ument...|..First.|
|00001270| 23 64 65 66 69 6e 65 20 | 4e 65 78 74 44 6f 63 75 |#define |NextDocu|
|00001280| 6d 65 6e 74 09 09 09 09 | 09 4e 65 78 74 0d 23 64 |ment....|.Next.#d|
|00001290| 65 66 69 6e 65 20 46 69 | 72 73 74 4f 62 6a 65 63 |efine Fi|rstObjec|
|000012a0| 74 09 09 09 09 09 09 46 | 69 72 73 74 0d 23 64 65 |t......F|irst.#de|
|000012b0| 66 69 6e 65 20 4e 65 78 | 74 4f 62 6a 65 63 74 09 |fine Nex|tObject.|
|000012c0| 09 09 09 09 09 4e 65 78 | 74 0d 23 64 65 66 69 6e |.....Nex|t.#defin|
|000012d0| 65 20 46 69 72 73 74 53 | 65 63 74 69 6f 6e 09 09 |e FirstS|ection..|
|000012e0| 09 09 09 46 69 72 73 74 | 0d 23 64 65 66 69 6e 65 |...First|.#define|
|000012f0| 20 4e 65 78 74 53 65 63 | 74 69 6f 6e 09 09 09 09 | NextSec|tion....|
|00001300| 09 09 4e 65 78 74 0d 23 | 64 65 66 69 6e 65 20 46 |..Next.#|define F|
|00001310| 69 72 73 74 41 64 6f 72 | 6e 65 72 09 09 09 09 09 |irstAdor|ner.....|
|00001320| 46 69 72 73 74 0d 23 64 | 65 66 69 6e 65 20 4e 65 |First.#d|efine Ne|
|00001330| 78 74 41 64 6f 72 6e 65 | 72 09 09 09 09 09 09 4e |xtAdorne|r......N|
|00001340| 65 78 74 0d 0d 2f 2f 20 | 44 65 66 69 6e 65 73 20 |ext..// |Defines |
|00001350| 66 6f 72 20 63 61 73 74 | 73 20 61 6e 64 20 65 78 |for cast|s and ex|
|00001360| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 69 6e 67 |ception |handling|
|00001370| 0d 0d 23 64 65 66 69 6e | 65 20 4d 41 73 74 61 74 |..#defin|e MAstat|
|00001380| 69 63 5f 63 61 73 74 28 | 54 59 50 45 2c 20 45 58 |ic_cast(|TYPE, EX|
|00001390| 50 52 29 09 09 73 74 61 | 74 69 63 5f 63 61 73 74 |PR)..sta|tic_cast|
|000013a0| 3c 54 59 50 45 3e 28 45 | 58 50 52 29 0d 23 64 65 |<TYPE>(E|XPR).#de|
|000013b0| 66 69 6e 65 20 4d 41 63 | 6f 6e 73 74 5f 63 61 73 |fine MAc|onst_cas|
|000013c0| 74 28 54 59 50 45 2c 20 | 45 58 50 52 29 09 09 63 |t(TYPE, |EXPR)..c|
|000013d0| 6f 6e 73 74 5f 63 61 73 | 74 3c 54 59 50 45 3e 28 |onst_cas|t<TYPE>(|
|000013e0| 45 58 50 52 29 0d 23 64 | 65 66 69 6e 65 20 4d 41 |EXPR).#d|efine MA|
|000013f0| 72 65 69 6e 74 65 72 70 | 72 65 74 5f 63 61 73 74 |reinterp|ret_cast|
|00001400| 28 54 59 50 45 2c 20 45 | 58 50 52 29 09 72 65 69 |(TYPE, E|XPR).rei|
|00001410| 6e 74 65 72 70 72 65 74 | 5f 63 61 73 74 5f 41 43 |nterpret|_cast_AC|
|00001420| 28 54 59 50 45 2c 20 45 | 58 50 52 29 0d 0d 23 64 |(TYPE, E|XPR)..#d|
|00001430| 65 66 69 6e 65 20 41 73 | 73 65 72 74 69 6f 6e 28 |efine As|sertion(|
|00001440| 43 4f 4e 44 2c 20 44 45 | 53 43 29 09 09 09 41 73 |COND, DE|SC)...As|
|00001450| 73 65 72 74 69 6f 6e 5f | 41 43 28 43 4f 4e 44 2c |sertion_|AC(COND,|
|00001460| 20 44 45 53 43 29 0d 23 | 64 65 66 69 6e 65 20 46 | DESC).#|define F|
|00001470| 61 69 6c 4d 65 6d 45 72 | 72 6f 72 28 29 09 09 09 |ailMemEr|ror()...|
|00001480| 09 09 54 68 72 6f 77 49 | 66 4d 65 6d 45 72 72 6f |..ThrowI|fMemErro|
|00001490| 72 5f 41 43 28 29 0d 23 | 64 65 66 69 6e 65 20 46 |r_AC().#|define F|
|000014a0| 61 69 6c 52 65 73 45 72 | 72 6f 72 28 29 09 09 09 |ailResEr|ror()...|
|000014b0| 09 09 54 68 72 6f 77 49 | 66 52 65 73 45 72 72 6f |..ThrowI|fResErro|
|000014c0| 72 5f 41 43 28 29 0d 23 | 64 65 66 69 6e 65 20 46 |r_AC().#|define F|
|000014d0| 61 69 6c 4e 65 77 4d 65 | 73 73 61 67 65 28 45 58 |ailNewMe|ssage(EX|
|000014e0| 50 52 2c 20 4d 53 47 31 | 2c 20 4d 53 47 32 29 20 |PR, MSG1|, MSG2) |
|000014f0| 54 68 72 6f 77 4e 65 77 | 4d 65 73 73 61 67 65 5f |ThrowNew|Message_|
|00001500| 41 43 28 45 58 50 52 2c | 20 4d 53 47 31 2c 20 4d |AC(EXPR,| MSG1, M|
|00001510| 53 47 32 29 0d 23 64 65 | 66 69 6e 65 20 46 61 69 |SG2).#de|fine Fai|
|00001520| 6c 4e 49 4c 28 45 58 50 | 52 29 09 09 09 09 09 54 |lNIL(EXP|R).....T|
|00001530| 68 72 6f 77 49 66 4e 55 | 4c 4c 5f 41 43 28 45 58 |hrowIfNU|LL_AC(EX|
|00001540| 50 52 29 0d 23 64 65 66 | 69 6e 65 20 46 61 69 6c |PR).#def|ine Fail|
|00001550| 4e 49 4c 52 65 73 6f 75 | 72 63 65 28 45 58 50 52 |NILResou|rce(EXPR|
|00001560| 29 09 09 09 54 68 72 6f | 77 49 66 4e 55 4c 4c 52 |)...Thro|wIfNULLR|
|00001570| 65 73 6f 75 72 63 65 5f | 41 43 28 45 58 50 52 29 |esource_|AC(EXPR)|
|00001580| 0d 23 64 65 66 69 6e 65 | 20 46 61 69 6c 4f 53 45 |.#define| FailOSE|
|00001590| 72 72 28 45 58 50 52 29 | 09 09 09 09 09 54 68 72 |rr(EXPR)|.....Thr|
|000015a0| 6f 77 49 66 4f 53 45 72 | 72 5f 41 43 28 45 58 50 |owIfOSEr|r_AC(EXP|
|000015b0| 52 29 0d 23 64 65 66 69 | 6e 65 20 46 61 69 6c 75 |R).#defi|ne Failu|
|000015c0| 72 65 28 45 58 50 52 2c | 20 4d 53 47 29 09 09 09 |re(EXPR,| MSG)...|
|000015d0| 09 54 68 72 6f 77 45 78 | 63 65 70 74 69 6f 6e 5f |.ThrowEx|ception_|
|000015e0| 41 43 28 45 58 50 52 2c | 20 4d 53 47 29 0d 23 64 |AC(EXPR,| MSG).#d|
|000015f0| 65 66 69 6e 65 20 50 72 | 6f 67 72 61 6d 42 72 65 |efine Pr|ogramBre|
|00001600| 61 6b 28 45 58 50 52 29 | 09 09 09 09 50 72 6f 67 |ak(EXPR)|....Prog|
|00001610| 72 61 6d 42 72 65 61 6b | 5f 41 43 28 45 58 50 52 |ramBreak|_AC(EXPR|
|00001620| 29 0d 23 64 65 66 69 6e | 65 20 50 72 6f 67 72 61 |).#defin|e Progra|
|00001630| 6d 52 65 70 6f 72 74 28 | 45 58 50 52 31 2c 20 45 |mReport(|EXPR1, E|
|00001640| 58 50 52 32 29 09 09 50 | 72 6f 67 72 61 6d 52 65 |XPR2)..P|rogramRe|
|00001650| 70 6f 72 74 5f 41 43 28 | 45 58 50 52 31 2c 20 45 |port_AC(|EXPR1, E|
|00001660| 58 50 52 32 29 0d 0d 2f | 2f 20 44 65 66 69 6e 65 |XPR2)../|/ Define|
|00001670| 73 20 66 6f 72 20 61 64 | 6f 72 6e 65 72 73 0d 0d |s for ad|orners..|
|00001680| 23 64 65 66 69 6e 65 20 | 67 44 69 6d 41 64 6f 72 |#define |gDimAdor|
|00001690| 6e 65 72 09 09 09 09 09 | 09 26 54 41 64 6f 72 6e |ner.....|.&TAdorn|
|000016a0| 65 72 3a 3a 66 67 44 69 | 6d 41 64 6f 72 6e 65 72 |er::fgDi|mAdorner|
|000016b0| 0d 23 64 65 66 69 6e 65 | 20 67 44 72 61 77 41 64 |.#define| gDrawAd|
|000016c0| 6f 72 6e 65 72 09 09 09 | 09 09 26 54 41 64 6f 72 |orner...|..&TAdor|
|000016d0| 6e 65 72 3a 3a 66 67 44 | 72 61 77 41 64 6f 72 6e |ner::fgD|rawAdorn|
|000016e0| 65 72 0d 23 64 65 66 69 | 6e 65 20 67 45 72 61 73 |er.#defi|ne gEras|
|000016f0| 65 41 64 6f 72 6e 65 72 | 09 09 09 09 09 26 54 41 |eAdorner|.....&TA|
|00001700| 64 6f 72 6e 65 72 3a 3a | 66 67 45 72 61 73 65 41 |dorner::|fgEraseA|
|00001710| 64 6f 72 6e 65 72 0d 23 | 64 65 66 69 6e 65 20 67 |dorner.#|define g|
|00001720| 48 69 6c 69 74 65 41 64 | 6f 72 6e 65 72 09 09 09 |HiliteAd|orner...|
|00001730| 09 09 26 54 41 64 6f 72 | 6e 65 72 3a 3a 66 67 48 |..&TAdor|ner::fgH|
|00001740| 69 6c 69 74 65 41 64 6f | 72 6e 65 72 0d 23 64 65 |iliteAdo|rner.#de|
|00001750| 66 69 6e 65 20 67 50 72 | 69 6e 74 41 64 6f 72 6e |fine gPr|intAdorn|
|00001760| 65 72 09 09 09 09 09 26 | 54 41 64 6f 72 6e 65 72 |er.....&|TAdorner|
|00001770| 3a 3a 66 67 50 72 69 6e | 74 41 64 6f 72 6e 65 72 |::fgPrin|tAdorner|
|00001780| 0d 23 64 65 66 69 6e 65 | 20 67 52 65 73 69 7a 65 |.#define| gResize|
|00001790| 49 63 6f 6e 41 64 6f 72 | 6e 65 72 09 09 09 09 26 |IconAdor|ner....&|
|000017a0| 54 41 64 6f 72 6e 65 72 | 3a 3a 66 67 52 65 73 69 |TAdorner|::fgResi|
|000017b0| 7a 65 49 63 6f 6e 41 64 | 6f 72 6e 65 72 0d 23 64 |zeIconAd|orner.#d|
|000017c0| 65 66 69 6e 65 20 67 53 | 65 6c 65 63 74 69 6f 6e |efine gS|election|
|000017d0| 41 64 6f 72 6e 65 72 09 | 09 09 09 26 54 41 64 6f |Adorner.|...&TAdo|
|000017e0| 72 6e 65 72 3a 3a 66 67 | 53 65 6c 65 63 74 69 6f |rner::fg|Selectio|
|000017f0| 6e 41 64 6f 72 6e 65 72 | 0d 0d 2f 2f 20 44 65 66 |nAdorner|..// Def|
|00001800| 69 6e 65 73 20 66 6f 72 | 20 73 63 6f 70 65 64 20 |ines for| scoped |
|00001810| 67 6c 6f 62 61 6c 73 0d | 0d 23 64 65 66 69 6e 65 |globals.|.#define|
|00001820| 20 67 4d 65 6e 75 42 61 | 72 4d 61 6e 61 67 65 72 | gMenuBa|rManager|
|00001830| 09 09 09 09 09 54 4d 65 | 6e 75 42 61 72 4d 61 6e |.....TMe|nuBarMan|
|00001840| 61 67 65 72 3a 3a 66 67 | 4d 65 6e 75 42 61 72 4d |ager::fg|MenuBarM|
|00001850| 61 6e 61 67 65 72 0d 23 | 64 65 66 69 6e 65 20 67 |anager.#|define g|
|00001860| 4d 61 63 41 70 70 44 65 | 70 65 6e 64 65 6e 63 69 |MacAppDe|pendenci|
|00001870| 65 73 09 09 09 09 43 44 | 65 70 65 6e 64 65 6e 63 |es....CD|ependenc|
|00001880| 79 53 70 61 63 65 5f 41 | 43 3a 3a 66 67 44 65 66 |ySpace_A|C::fgDef|
|00001890| 61 75 6c 74 44 65 70 65 | 6e 64 65 6e 63 79 53 70 |aultDepe|ndencySp|
|000018a0| 61 63 65 0d 0d 2f 2f 20 | 4e 6f 74 65 3a 20 74 68 |ace..// |Note: th|
|000018b0| 65 73 65 20 6d 61 63 72 | 6f 73 20 61 72 65 20 6e |ese macr|os are n|
|000018c0| 6f 20 6c 6f 6e 67 65 72 | 20 6e 65 63 65 73 73 61 |o longer| necessa|
|000018d0| 72 79 20 66 6f 72 20 65 | 78 63 65 70 74 69 6f 6e |ry for e|xception|
|000018e0| 20 68 61 6e 64 6c 69 6e | 67 2c 20 62 75 74 20 61 | handlin|g, but a|
|000018f0| 72 65 0d 2f 2f 20 09 09 | 20 70 72 6f 76 69 64 65 |re.// ..| provide|
|00001900| 64 20 66 6f 72 20 62 61 | 63 6b 77 61 72 64 20 63 |d for ba|ckward c|
|00001910| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 0d 0d 23 64 |ompatibi|lity..#d|
|00001920| 65 66 69 6e 65 20 4d 41 | 56 6f 6c 61 74 69 6c 65 |efine MA|Volatile|
|00001930| 28 74 79 70 65 2c 20 69 | 64 29 09 09 09 09 74 79 |(type, i|d)....ty|
|00001940| 70 65 20 69 64 3b 0d 23 | 64 65 66 69 6e 65 20 4d |pe id;.#|define M|
|00001950| 41 56 6f 6c 61 74 69 6c | 65 49 6e 69 74 28 74 79 |AVolatil|eInit(ty|
|00001960| 70 65 2c 20 69 64 2c 20 | 76 61 6c 75 65 29 09 09 |pe, id, |value)..|
|00001970| 74 79 70 65 20 69 64 20 | 3d 20 76 61 6c 75 65 3b |type id |= value;|
|00001980| 0d 09 09 09 09 09 0d 2f | 2f 20 74 79 70 65 64 65 |......./|/ typede|
|00001990| 66 73 0d 0d 74 79 70 65 | 64 65 66 20 63 6c 61 73 |fs..type|def clas|
|000019a0| 73 20 43 52 65 63 74 5f | 41 43 20 09 09 09 09 09 |s CRect_|AC .....|
|000019b0| 43 52 65 63 74 3b 0d 74 | 79 70 65 64 65 66 20 63 |CRect;.t|ypedef c|
|000019c0| 6c 61 73 73 20 43 50 6f | 69 6e 74 5f 41 43 09 09 |lass CPo|int_AC..|
|000019d0| 09 09 09 43 50 6f 69 6e | 74 3b 0d 74 79 70 65 64 |...CPoin|t;.typed|
|000019e0| 65 66 20 43 56 69 65 77 | 50 6f 69 6e 74 09 09 09 |ef CView|Point...|
|000019f0| 09 09 09 56 50 6f 69 6e | 74 3b 0d 74 79 70 65 64 |...VPoin|t;.typed|
|00001a00| 65 66 20 43 56 69 65 77 | 52 65 63 74 20 20 09 09 |ef CView|Rect ..|
|00001a10| 09 09 09 09 56 52 65 63 | 74 3b 0d 74 79 70 65 64 |....VRec|t;.typed|
|00001a20| 65 66 20 43 56 69 65 77 | 50 6f 69 6e 74 2a 20 09 |ef CView|Point* .|
|00001a30| 09 09 09 09 56 50 6f 69 | 6e 74 50 74 72 3b 0d 74 |....VPoi|ntPtr;.t|
|00001a40| 79 70 65 64 65 66 20 43 | 56 69 65 77 52 65 63 74 |ypedef C|ViewRect|
|00001a50| 2a 20 20 09 09 09 09 09 | 56 52 65 63 74 50 74 72 |* .....|VRectPtr|
|00001a60| 3b 0d 74 79 70 65 64 65 | 66 20 56 69 65 77 43 6f |;.typede|f ViewCo|
|00001a70| 6f 72 64 69 6e 61 74 65 | 20 09 09 09 09 09 56 43 |ordinate| .....VC|
|00001a80| 6f 6f 72 64 69 6e 61 74 | 65 3b 0d 74 79 70 65 64 |oordinat|e;.typed|
|00001a90| 65 66 20 43 54 65 6d 70 | 52 65 67 69 6f 6e 5f 41 |ef CTemp|Region_A|
|00001aa0| 43 09 09 09 09 09 43 54 | 65 6d 70 52 65 67 69 6f |C.....CT|empRegio|
|00001ab0| 6e 3b 0d 74 79 70 65 64 | 65 66 20 43 54 65 6d 70 |n;.typed|ef CTemp|
|00001ac0| 52 65 67 69 6f 6e 5f 41 | 43 20 09 09 09 09 09 43 |Region_A|C .....C|
|00001ad0| 54 65 6d 70 6f 72 61 72 | 79 52 65 67 69 6f 6e 3b |Temporar|yRegion;|
|00001ae0| 09 09 09 2f 2f 20 66 6f | 72 20 63 6f 6d 70 61 74 |...// fo|r compat|
|00001af0| 69 62 69 6c 69 74 79 0d | 74 79 70 65 64 65 66 20 |ibility.|typedef |
|00001b00| 63 6c 61 73 73 20 43 52 | 47 42 43 6f 6c 6f 72 5f |class CR|GBColor_|
|00001b10| 41 43 20 09 09 09 09 43 | 52 47 42 43 6f 6c 6f 72 |AC ....C|RGBColor|
|00001b20| 3b 0d 74 79 70 65 64 65 | 66 20 63 6c 61 73 73 20 |;.typede|f class |
|00001b30| 43 54 65 78 74 53 74 79 | 6c 65 5f 41 43 20 09 09 |CTextSty|le_AC ..|
|00001b40| 09 43 54 65 78 74 53 74 | 79 6c 65 3b 0d 74 79 70 |.CTextSt|yle;.typ|
|00001b50| 65 64 65 66 20 63 6c 61 | 73 73 20 43 57 68 69 6c |edef cla|ss CWhil|
|00001b60| 65 4f 75 74 6c 69 6e 65 | 50 72 65 66 65 72 72 65 |eOutline|Preferre|
|00001b70| 64 5f 41 43 09 43 57 68 | 69 6c 65 4f 75 74 6c 69 |d_AC.CWh|ileOutli|
|00001b80| 6e 65 50 72 65 66 65 72 | 72 65 64 3b 0d 74 79 70 |nePrefer|red;.typ|
|00001b90| 65 64 65 66 20 63 6c 61 | 73 73 20 43 46 53 53 70 |edef cla|ss CFSSp|
|00001ba0| 65 63 5f 41 43 20 09 09 | 09 09 43 46 53 53 70 65 |ec_AC ..|..CFSSpe|
|00001bb0| 63 3b 0d 74 79 70 65 64 | 65 66 20 65 6e 75 6d 20 |c;.typed|ef enum |
|00001bc0| 45 4d 6f 76 65 48 69 53 | 74 61 74 65 5f 41 43 20 |EMoveHiS|tate_AC |
|00001bd0| 09 09 09 45 4d 6f 76 65 | 48 69 53 74 61 74 65 3b |...EMove|HiState;|
|00001be0| 0d 74 79 70 65 64 65 66 | 20 65 6e 75 6d 20 45 52 |.typedef| enum ER|
|00001bf0| 65 6c 65 61 73 65 53 74 | 61 74 65 5f 41 43 20 09 |eleaseSt|ate_AC .|
|00001c00| 09 09 45 52 65 6c 65 61 | 73 65 53 74 61 74 65 3b |..ERelea|seState;|
|00001c10| 0d 74 79 70 65 64 65 66 | 20 65 6e 75 6d 20 45 4c |.typedef| enum EL|
|00001c20| 6f 63 6b 53 74 61 74 65 | 5f 41 43 20 09 09 09 09 |ockState|_AC ....|
|00001c30| 45 4c 6f 63 6b 53 74 61 | 74 65 3b 0d 74 79 70 65 |ELockSta|te;.type|
|00001c40| 64 65 66 20 43 54 65 6d | 70 48 4c 6f 63 6b 5f 41 |def CTem|pHLock_A|
|00001c50| 43 20 09 09 09 09 09 43 | 54 65 6d 70 48 4c 6f 63 |C .....C|TempHLoc|
|00001c60| 6b 3b 0d 74 79 70 65 64 | 65 66 20 43 54 65 6d 70 |k;.typed|ef CTemp|
|00001c70| 48 61 6e 64 6c 65 4c 6f | 63 6b 5f 41 43 20 09 09 |HandleLo|ck_AC ..|
|00001c80| 09 09 43 54 65 6d 70 48 | 61 6e 64 6c 65 4c 6f 63 |..CTempH|andleLoc|
|00001c90| 6b 3b 0d 74 79 70 65 64 | 65 66 20 43 54 65 6d 70 |k;.typed|ef CTemp|
|00001ca0| 48 61 6e 64 6c 65 5f 41 | 43 20 09 09 09 09 09 43 |Handle_A|C .....C|
|00001cb0| 54 65 6d 70 48 61 6e 64 | 6c 65 3b 0d 74 79 70 65 |TempHand|le;.type|
|00001cc0| 64 65 66 20 43 48 61 6e | 64 6c 65 49 74 65 72 61 |def CHan|dleItera|
|00001cd0| 74 6f 72 5f 41 43 09 09 | 09 09 43 48 61 6e 64 6c |tor_AC..|..CHandl|
|00001ce0| 65 49 74 65 72 61 74 6f | 72 3b 0d 74 79 70 65 64 |eIterato|r;.typed|
|00001cf0| 65 66 20 43 54 65 6d 70 | 50 74 72 5f 41 43 20 09 |ef CTemp|Ptr_AC .|
|00001d00| 09 09 09 09 43 54 65 6d | 70 50 74 72 3b 0d 74 79 |....CTem|pPtr;.ty|
|00001d10| 70 65 64 65 66 20 43 54 | 65 6d 70 52 6f 75 74 69 |pedef CT|empRouti|
|00001d20| 6e 65 44 65 73 63 72 69 | 70 74 6f 72 5f 41 43 09 |neDescri|ptor_AC.|
|00001d30| 09 43 54 65 6d 70 52 6f | 75 74 69 6e 65 44 65 73 |.CTempRo|utineDes|
|00001d40| 63 72 69 70 74 6f 72 3b | 0d 74 79 70 65 64 65 66 |criptor;|.typedef|
|00001d50| 20 43 54 65 6d 70 55 73 | 65 52 65 73 46 69 6c 65 | CTempUs|eResFile|
|00001d60| 5f 41 43 20 09 09 09 09 | 43 54 65 6d 70 55 73 65 |_AC ....|CTempUse|
|00001d70| 52 65 73 46 69 6c 65 3b | 0d 74 79 70 65 64 65 66 |ResFile;|.typedef|
|00001d80| 20 43 4c 69 73 74 5f 41 | 43 09 09 09 09 09 09 54 | CList_A|C......T|
|00001d90| 4c 69 73 74 3b 0d 74 79 | 70 65 64 65 66 20 41 72 |List;.ty|pedef Ar|
|00001da0| 72 61 79 49 6e 64 65 78 | 5f 41 43 09 09 09 09 09 |rayIndex|_AC.....|
|00001db0| 41 72 72 61 79 49 6e 64 | 65 78 3b 0d 74 79 70 65 |ArrayInd|ex;.type|
|00001dc0| 64 65 66 20 43 6f 6d 70 | 61 72 65 52 65 73 75 6c |def Comp|areResul|
|00001dd0| 74 5f 41 43 09 09 09 09 | 43 6f 6d 70 61 72 65 52 |t_AC....|CompareR|
|00001de0| 65 73 75 6c 74 3b 0d 74 | 79 70 65 64 65 66 20 43 |esult;.t|ypedef C|
|00001df0| 53 6f 72 74 65 64 48 61 | 6e 64 6c 65 4c 69 73 74 |SortedHa|ndleList|
|00001e00| 5f 41 43 09 09 09 54 53 | 6f 72 74 65 64 48 61 6e |_AC...TS|ortedHan|
|00001e10| 64 6c 65 4c 69 73 74 3b | 0d 74 79 70 65 64 65 66 |dleList;|.typedef|
|00001e20| 20 43 68 61 6e 67 65 49 | 44 5f 41 43 09 09 09 09 | ChangeI|D_AC....|
|00001e30| 09 09 43 68 61 6e 67 65 | 49 44 3b 0d 74 79 70 65 |..Change|ID;.type|
|00001e40| 64 65 66 20 43 6c 61 73 | 73 49 44 5f 41 43 09 09 |def Clas|sID_AC..|
|00001e50| 09 09 09 09 43 6c 61 73 | 73 49 44 3b 0d 74 79 70 |....Clas|sID;.typ|
|00001e60| 65 64 65 66 20 63 6c 61 | 73 73 20 43 43 68 61 72 |edef cla|ss CChar|
|00001e70| 53 74 72 5f 41 43 20 09 | 09 09 09 43 43 68 61 72 |Str_AC .|...CChar|
|00001e80| 53 74 72 2c 0d 09 09 09 | 09 09 09 09 09 09 09 2a |Str,....|.......*|
|00001e90| 43 43 68 61 72 53 74 72 | 50 74 72 2c 20 0d 09 09 |CCharStr|Ptr, ...|
|00001ea0| 09 09 09 09 09 09 09 09 | 2a 2a 43 43 68 61 72 53 |........|**CCharS|
|00001eb0| 74 72 48 61 6e 64 6c 65 | 3b 0d 74 79 70 65 64 65 |trHandle|;.typede|
|00001ec0| 66 20 63 6c 61 73 73 20 | 43 50 61 73 63 61 6c 53 |f class |CPascalS|
|00001ed0| 74 72 5f 41 43 20 09 09 | 09 43 50 61 73 63 61 6c |tr_AC ..|.CPascal|
|00001ee0| 53 74 72 2c 0d 09 09 09 | 09 09 09 09 09 09 09 2a |Str,....|.......*|
|00001ef0| 43 50 61 73 63 61 6c 53 | 74 72 50 74 72 2c 20 0d |CPascalS|trPtr, .|
|00001f00| 09 09 09 09 09 09 09 09 | 09 09 2a 2a 43 50 61 73 |........|..**CPas|
|00001f10| 63 61 6c 53 74 72 48 61 | 6e 64 6c 65 3b 0d 74 79 |calStrHa|ndle;.ty|
|00001f20| 70 65 64 65 66 20 63 6c | 61 73 73 20 43 50 61 73 |pedef cl|ass CPas|
|00001f30| 63 61 6c 53 74 72 5f 41 | 43 20 09 09 09 43 53 74 |calStr_A|C ...CSt|
|00001f40| 72 69 6e 67 2c 20 0d 09 | 09 09 09 09 09 09 09 09 |ring, ..|........|
|00001f50| 09 2a 43 53 74 72 69 6e | 67 50 74 72 2c 20 0d 09 |.*CStrin|gPtr, ..|
|00001f60| 09 09 09 09 09 09 09 09 | 09 2a 2a 43 53 74 72 69 |........|.**CStri|
|00001f70| 6e 67 48 61 6e 64 6c 65 | 3b 0d 74 79 70 65 64 65 |ngHandle|;.typede|
|00001f80| 66 20 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 |f unsign|ed char |
|00001f90| 09 09 09 09 09 53 74 72 | 32 5b 33 5d 3b 0d 74 79 |.....Str|2[3];.ty|
|00001fa0| 70 65 64 65 66 20 75 6e | 73 69 67 6e 65 64 20 63 |pedef un|signed c|
|00001fb0| 68 61 72 20 09 09 09 09 | 09 53 74 72 38 5b 39 5d |har ....|.Str8[9]|
|00001fc0| 3b 0d 74 79 70 65 64 65 | 66 20 63 6c 61 73 73 20 |;.typede|f class |
|00001fd0| 43 43 68 61 72 32 35 35 | 5f 41 43 20 09 09 09 09 |CChar255|_AC ....|
|00001fe0| 43 43 68 61 72 32 35 35 | 3b 0d 74 79 70 65 64 65 |CChar255|;.typede|
|00001ff0| 66 20 63 6c 61 73 73 20 | 43 53 74 72 32 35 35 5f |f class |CStr255_|
|00002000| 41 43 20 09 09 09 09 43 | 53 74 72 32 35 35 3b 0d |AC ....C|Str255;.|
|00002010| 74 79 70 65 64 65 66 20 | 54 65 6d 70 6c 61 74 65 |typedef |Template|
|00002020| 43 68 61 72 53 74 72 3c | 53 74 72 36 33 3e 09 09 |CharStr<|Str63>..|
|00002030| 09 43 43 68 61 72 36 33 | 3b 0d 74 79 70 65 64 65 |.CChar63|;.typede|
|00002040| 66 20 54 65 6d 70 6c 61 | 74 65 43 68 61 72 53 74 |f Templa|teCharSt|
|00002050| 72 3c 53 74 72 33 32 3e | 09 09 09 43 43 68 61 72 |r<Str32>|...CChar|
|00002060| 33 32 3b 0d 74 79 70 65 | 64 65 66 20 54 65 6d 70 |32;.type|def Temp|
|00002070| 6c 61 74 65 43 68 61 72 | 53 74 72 3c 53 74 72 33 |lateChar|Str<Str3|
|00002080| 31 3e 09 09 09 43 43 68 | 61 72 33 31 3b 0d 74 79 |1>...CCh|ar31;.ty|
|00002090| 70 65 64 65 66 20 54 65 | 6d 70 6c 61 74 65 43 68 |pedef Te|mplateCh|
|000020a0| 61 72 53 74 72 3c 53 74 | 72 32 37 3e 09 09 09 43 |arStr<St|r27>...C|
|000020b0| 43 68 61 72 32 37 3b 0d | 74 79 70 65 64 65 66 20 |Char27;.|typedef |
|000020c0| 54 65 6d 70 6c 61 74 65 | 43 68 61 72 53 74 72 3c |Template|CharStr<|
|000020d0| 53 74 72 31 35 3e 09 09 | 09 43 43 68 61 72 31 35 |Str15>..|.CChar15|
|000020e0| 3b 0d 74 79 70 65 64 65 | 66 20 54 65 6d 70 6c 61 |;.typede|f Templa|
|000020f0| 74 65 43 68 61 72 53 74 | 72 3c 53 74 72 38 3e 09 |teCharSt|r<Str8>.|
|00002100| 09 09 43 43 68 61 72 38 | 3b 0d 74 79 70 65 64 65 |..CChar8|;.typede|
|00002110| 66 20 54 65 6d 70 6c 61 | 74 65 43 68 61 72 53 74 |f Templa|teCharSt|
|00002120| 72 3c 53 74 72 32 3e 09 | 09 09 43 43 68 61 72 32 |r<Str2>.|..CChar2|
|00002130| 3b 0d 74 79 70 65 64 65 | 66 20 54 65 6d 70 6c 61 |;.typede|f Templa|
|00002140| 74 65 50 61 73 63 61 6c | 53 74 72 3c 53 74 72 36 |tePascal|Str<Str6|
|00002150| 33 3e 20 09 09 43 53 74 | 72 36 33 3b 0d 74 79 70 |3> ..CSt|r63;.typ|
|00002160| 65 64 65 66 20 54 65 6d | 70 6c 61 74 65 50 61 73 |edef Tem|platePas|
|00002170| 63 61 6c 53 74 72 3c 53 | 74 72 33 32 3e 20 09 09 |calStr<S|tr32> ..|
|00002180| 43 53 74 72 33 32 3b 0d | 74 79 70 65 64 65 66 20 |CStr32;.|typedef |
|00002190| 54 65 6d 70 6c 61 74 65 | 50 61 73 63 61 6c 53 74 |Template|PascalSt|
|000021a0| 72 3c 53 74 72 33 31 3e | 20 09 09 43 53 74 72 33 |r<Str31>| ..CStr3|
|000021b0| 31 3b 0d 74 79 70 65 64 | 65 66 20 54 65 6d 70 6c |1;.typed|ef Templ|
|000021c0| 61 74 65 50 61 73 63 61 | 6c 53 74 72 3c 53 74 72 |atePasca|lStr<Str|
|000021d0| 32 37 3e 20 09 09 43 53 | 74 72 32 37 3b 0d 74 79 |27> ..CS|tr27;.ty|
|000021e0| 70 65 64 65 66 20 54 65 | 6d 70 6c 61 74 65 50 61 |pedef Te|mplatePa|
|000021f0| 73 63 61 6c 53 74 72 3c | 53 74 72 31 35 3e 20 09 |scalStr<|Str15> .|
|00002200| 09 43 53 74 72 31 35 3b | 0d 74 79 70 65 64 65 66 |.CStr15;|.typedef|
|00002210| 20 54 65 6d 70 6c 61 74 | 65 50 61 73 63 61 6c 53 | Templat|ePascalS|
|00002220| 74 72 3c 53 74 72 38 3e | 20 09 09 43 53 74 72 38 |tr<Str8>| ..CStr8|
|00002230| 3b 0d 74 79 70 65 64 65 | 66 20 54 65 6d 70 6c 61 |;.typede|f Templa|
|00002240| 74 65 50 61 73 63 61 6c | 53 74 72 3c 53 74 72 32 |tePascal|Str<Str2|
|00002250| 3e 20 09 09 43 53 74 72 | 32 3b 0d 74 79 70 65 64 |> ..CStr|2;.typed|
|00002260| 65 66 20 43 44 65 70 65 | 6e 64 65 6e 63 79 53 70 |ef CDepe|ndencySp|
|00002270| 61 63 65 5f 41 43 09 09 | 09 09 54 44 65 70 65 6e |ace_AC..|..TDepen|
|00002280| 64 65 6e 63 79 53 70 61 | 63 65 3b 0d 74 79 70 65 |dencySpa|ce;.type|
|00002290| 64 65 66 20 43 53 74 72 | 65 61 6d 43 6f 6e 74 65 |def CStr|eamConte|
|000022a0| 78 74 5f 41 43 09 09 09 | 09 54 43 6f 6e 74 65 78 |xt_AC...|.TContex|
|000022b0| 74 3b 0d 0d 74 79 70 65 | 64 65 66 20 43 41 72 72 |t;..type|def CArr|
|000022c0| 61 79 49 74 65 72 61 74 | 6f 72 5f 41 43 09 09 09 |ayIterat|or_AC...|
|000022d0| 09 43 41 72 72 61 79 49 | 74 65 72 61 74 6f 72 3b |.CArrayI|terator;|
|000022e0| 0d 74 79 70 65 64 65 66 | 20 43 44 65 70 65 6e 64 |.typedef| CDepend|
|000022f0| 65 6e 63 79 49 74 65 72 | 61 74 6f 72 5f 41 43 09 |encyIter|ator_AC.|
|00002300| 09 09 43 44 65 70 65 6e | 64 65 6e 63 79 49 74 65 |..CDepen|dencyIte|
|00002310| 72 61 74 6f 72 3b 0d 74 | 79 70 65 64 65 66 20 43 |rator;.t|ypedef C|
|00002320| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 51 75 65 75 |Notifica|tionQueu|
|00002330| 65 5f 41 43 09 09 09 54 | 4e 6f 74 69 66 69 63 61 |e_AC...T|Notifica|
|00002340| 74 69 6f 6e 51 75 65 75 | 65 3b 0d 74 79 70 65 64 |tionQueu|e;.typed|
|00002350| 65 66 20 43 48 61 6e 64 | 6c 65 49 74 65 72 61 74 |ef CHand|leIterat|
|00002360| 6f 72 5f 41 43 09 09 09 | 09 43 48 61 6e 64 6c 65 |or_AC...|.CHandle|
|00002370| 49 74 65 72 61 74 6f 72 | 3b 0d 74 79 70 65 64 65 |Iterator|;.typede|
|00002380| 66 20 43 4c 6f 6e 67 69 | 6e 74 49 74 65 72 61 74 |f CLongi|ntIterat|
|00002390| 6f 72 5f 41 43 09 09 09 | 09 43 4c 6f 6e 67 69 6e |or_AC...|.CLongin|
|000023a0| 74 49 74 65 72 61 74 6f | 72 3b 0d 74 79 70 65 64 |tIterato|r;.typed|
|000023b0| 65 66 20 43 4e 6f 74 69 | 66 69 65 72 49 74 65 72 |ef CNoti|fierIter|
|000023c0| 61 74 6f 72 5f 41 43 09 | 09 09 43 4e 6f 74 69 66 |ator_AC.|..CNotif|
|000023d0| 69 65 72 49 74 65 72 61 | 74 6f 72 3b 0d 0d 74 79 |ierItera|tor;..ty|
|000023e0| 70 65 64 65 66 20 43 44 | 79 6e 61 6d 69 63 41 72 |pedef CD|ynamicAr|
|000023f0| 72 61 79 5f 41 43 09 09 | 09 09 54 44 79 6e 61 6d |ray_AC..|..TDynam|
|00002400| 69 63 41 72 72 61 79 3b | 0d 74 79 70 65 64 65 66 |icArray;|.typedef|
|00002410| 20 43 48 61 6e 64 6c 65 | 4c 69 73 74 5f 41 43 09 | CHandle|List_AC.|
|00002420| 09 09 09 09 54 48 61 6e | 64 6c 65 4c 69 73 74 3b |....THan|dleList;|
|00002430| 0d 74 79 70 65 64 65 66 | 20 43 4c 6f 6e 67 69 6e |.typedef| CLongin|
|00002440| 74 4c 69 73 74 5f 41 43 | 09 09 09 09 09 54 4c 6f |tList_AC|.....TLo|
|00002450| 6e 67 69 6e 74 4c 69 73 | 74 3b 0d 74 79 70 65 64 |ngintLis|t;.typed|
|00002460| 65 66 20 43 53 69 6d 70 | 6c 65 44 65 70 65 6e 64 |ef CSimp|leDepend|
|00002470| 65 6e 63 79 53 70 61 63 | 65 5f 41 43 09 09 54 53 |encySpac|e_AC..TS|
|00002480| 69 6d 70 6c 65 44 65 70 | 65 6e 64 65 6e 63 79 53 |impleDep|endencyS|
|00002490| 70 61 63 65 3b 09 0d 74 | 79 70 65 64 65 66 20 43 |pace;..t|ypedef C|
|000024a0| 53 6f 72 74 65 64 44 79 | 6e 61 6d 69 63 41 72 72 |SortedDy|namicArr|
|000024b0| 61 79 5f 41 43 09 09 09 | 54 53 6f 72 74 65 64 44 |ay_AC...|TSortedD|
|000024c0| 79 6e 61 6d 69 63 41 72 | 72 61 79 3b 0d 74 79 70 |ynamicAr|ray;.typ|
|000024d0| 65 64 65 66 20 43 53 6f | 72 74 65 64 48 61 6e 64 |edef CSo|rtedHand|
|000024e0| 6c 65 4c 69 73 74 5f 41 | 43 09 09 09 54 53 6f 72 |leList_A|C...TSor|
|000024f0| 74 65 64 48 61 6e 64 6c | 65 4c 69 73 74 3b 0d 74 |tedHandl|eList;.t|
|00002500| 79 70 65 64 65 66 20 43 | 53 6f 72 74 65 64 4c 69 |ypedef C|SortedLi|
|00002510| 73 74 5f 41 43 09 09 09 | 09 09 54 53 6f 72 74 65 |st_AC...|..TSorte|
|00002520| 64 4c 69 73 74 3b 0d 74 | 79 70 65 64 65 66 20 43 |dList;.t|ypedef C|
|00002530| 53 6f 72 74 65 64 4c 6f | 6e 67 69 6e 74 4c 69 73 |SortedLo|ngintLis|
|00002540| 74 5f 41 43 09 09 09 54 | 53 6f 72 74 65 64 4c 6f |t_AC...T|SortedLo|
|00002550| 6e 67 69 6e 74 4c 69 73 | 74 3b 0d 74 79 70 65 64 |ngintLis|t;.typed|
|00002560| 65 66 20 43 53 6f 72 74 | 65 64 56 6f 69 64 4c 69 |ef CSort|edVoidLi|
|00002570| 73 74 5f 41 43 09 09 09 | 09 54 53 6f 72 74 65 64 |st_AC...|.TSorted|
|00002580| 56 6f 69 64 4c 69 73 74 | 3b 0d 74 79 70 65 64 65 |VoidList|;.typede|
|00002590| 66 20 43 53 74 61 6e 64 | 61 72 64 44 65 70 65 6e |f CStand|ardDepen|
|000025a0| 64 65 6e 63 79 53 70 61 | 63 65 5f 41 43 09 09 54 |dencySpa|ce_AC..T|
|000025b0| 53 74 61 6e 64 61 72 64 | 44 65 70 65 6e 64 65 6e |Standard|Dependen|
|000025c0| 63 79 53 70 61 63 65 3b | 0d 0d 2f 2f 20 65 6e 75 |cySpace;|..// enu|
|000025d0| 6d 65 72 61 74 69 6f 6e | 73 20 61 6e 64 20 63 6f |meration|s and co|
|000025e0| 6e 73 74 61 6e 74 73 0d | 0d 63 6f 6e 73 74 20 4f |nstants.|.const O|
|000025f0| 53 54 79 70 65 20 6b 41 | 6c 6c 51 75 65 73 74 69 |SType kA|llQuesti|
|00002600| 6f 6e 73 54 79 70 65 20 | 09 09 09 3d 20 6b 41 6c |onsType |...= kAl|
|00002610| 6c 51 75 65 73 74 69 6f | 6e 73 54 79 70 65 5f 41 |lQuestio|nsType_A|
|00002620| 43 3b 0d 63 6f 6e 73 74 | 20 4f 53 54 79 70 65 20 |C;.const| OSType |
|00002630| 6b 54 65 78 74 54 79 70 | 65 20 09 09 09 09 09 3d |kTextTyp|e .....=|
|00002640| 20 6b 54 65 78 74 54 79 | 70 65 5f 41 43 3b 0d 63 | kTextTy|pe_AC;.c|
|00002650| 6f 6e 73 74 20 4f 53 54 | 79 70 65 20 6b 50 69 63 |onst OST|ype kPic|
|00002660| 74 54 79 70 65 20 09 09 | 09 09 09 3d 20 6b 50 69 |tType ..|...= kPi|
|00002670| 63 74 54 79 70 65 5f 41 | 43 3b 0d 63 6f 6e 73 74 |ctType_A|C;.const|
|00002680| 20 4f 53 54 79 70 65 20 | 6b 53 6f 75 6e 64 54 79 | OSType |kSoundTy|
|00002690| 70 65 20 09 09 09 09 3d | 20 6b 53 6f 75 6e 64 54 |pe ....=| kSoundT|
|000026a0| 79 70 65 5f 41 43 3b 0d | 63 6f 6e 73 74 20 4f 53 |ype_AC;.|const OS|
|000026b0| 54 79 70 65 20 6b 53 74 | 79 6c 65 54 79 70 65 20 |Type kSt|yleType |
|000026c0| 09 09 09 09 3d 20 6b 53 | 74 79 6c 65 54 79 70 65 |....= kS|tyleType|
|000026d0| 5f 41 43 3b 0d 63 6f 6e | 73 74 20 73 68 6f 72 74 |_AC;.con|st short|
|000026e0| 20 6b 4e 6f 46 69 6c 65 | 52 65 66 4e 75 6d 20 09 | kNoFile|RefNum .|
|000026f0| 09 09 09 3d 20 6b 4e 6f | 46 69 6c 65 52 65 66 4e |...= kNo|FileRefN|
|00002700| 75 6d 5f 41 43 3b 0d 63 | 6f 6e 73 74 20 73 68 6f |um_AC;.c|onst sho|
|00002710| 72 74 20 6b 4e 6f 46 69 | 6c 65 52 65 66 6e 75 6d |rt kNoFi|leRefnum|
|00002720| 09 09 09 09 3d 20 6b 4e | 6f 46 69 6c 65 52 65 66 |....= kN|oFileRef|
|00002730| 4e 75 6d 5f 41 43 3b 0d | 63 6f 6e 73 74 20 4f 53 |Num_AC;.|const OS|
|00002740| 54 79 70 65 20 6b 46 6f | 6c 64 65 72 54 79 70 65 |Type kFo|lderType|
|00002750| 20 09 09 09 09 3d 20 6b | 46 6f 6c 64 65 72 54 79 | ....= k|FolderTy|
|00002760| 70 65 5f 41 43 3b 0d 63 | 6f 6e 73 74 20 4f 53 54 |pe_AC;.c|onst OST|
|00002770| 79 70 65 20 6b 46 6f 6c | 64 65 72 43 72 65 61 74 |ype kFol|derCreat|
|00002780| 6f 72 20 09 09 09 3d 20 | 6b 46 6f 6c 64 65 72 43 |or ...= |kFolderC|
|00002790| 72 65 61 74 6f 72 5f 41 | 43 3b 0d 63 6f 6e 73 74 |reator_A|C;.const|
|000027a0| 20 4f 53 54 79 70 65 20 | 6b 47 65 6e 65 72 69 63 | OSType |kGeneric|
|000027b0| 54 79 70 65 20 09 09 09 | 09 3d 20 6b 47 65 6e 65 |Type ...|.= kGene|
|000027c0| 72 69 63 54 79 70 65 5f | 41 43 3b 0d 63 6f 6e 73 |ricType_|AC;.cons|
|000027d0| 74 20 4f 53 54 79 70 65 | 20 6b 47 65 6e 65 72 69 |t OSType| kGeneri|
|000027e0| 63 43 72 65 61 74 6f 72 | 20 09 09 09 3d 20 6b 47 |cCreator| ...= kG|
|000027f0| 65 6e 65 72 69 63 43 72 | 65 61 74 6f 72 5f 41 43 |enericCr|eator_AC|
|00002800| 3b 0d 0d 23 64 65 66 69 | 6e 65 20 6b 49 74 65 6d |;..#defi|ne kItem|
|00002810| 31 47 72 65 61 74 65 72 | 54 68 61 6e 49 74 65 6d |1Greater|ThanItem|
|00002820| 32 09 09 09 6b 49 74 65 | 6d 31 47 72 65 61 74 65 |2...kIte|m1Greate|
|00002830| 72 54 68 61 6e 49 74 65 | 6d 32 5f 41 43 0d 23 64 |rThanIte|m2_AC.#d|
|00002840| 65 66 69 6e 65 20 6b 49 | 74 65 6d 31 4c 65 73 73 |efine kI|tem1Less|
|00002850| 54 68 61 6e 49 74 65 6d | 32 09 09 09 09 6b 49 74 |ThanItem|2....kIt|
|00002860| 65 6d 31 47 72 65 61 74 | 65 72 54 68 61 6e 49 74 |em1Great|erThanIt|
|00002870| 65 6d 32 5f 41 43 0d 23 | 64 65 66 69 6e 65 20 6b |em2_AC.#|define k|
|00002880| 49 74 65 6d 31 45 71 75 | 61 6c 49 74 65 6d 32 09 |Item1Equ|alItem2.|
|00002890| 09 09 09 6b 49 74 65 6d | 31 45 71 75 61 6c 49 74 |...kItem|1EqualIt|
|000028a0| 65 6d 32 5f 41 43 0d 23 | 64 65 66 69 6e 65 20 6b |em2_AC.#|define k|
|000028b0| 45 6d 70 74 79 49 6e 64 | 65 78 09 09 09 09 09 09 |EmptyInd|ex......|
|000028c0| 6b 45 6d 70 74 79 49 6e | 64 65 78 5f 41 43 0d 23 |kEmptyIn|dex_AC.#|
|000028d0| 64 65 66 69 6e 65 20 6b | 49 74 65 72 61 74 65 46 |define k|IterateF|
|000028e0| 6f 72 77 61 72 64 09 09 | 09 09 09 6b 49 74 65 72 |orward..|...kIter|
|000028f0| 61 74 65 46 6f 72 77 61 | 72 64 5f 41 43 0d 23 64 |ateForwa|rd_AC.#d|
|00002900| 65 66 69 6e 65 20 6b 49 | 74 65 72 61 74 65 42 61 |efine kI|terateBa|
|00002910| 63 6b 77 61 72 64 09 09 | 09 09 6b 49 74 65 72 61 |ckward..|..kItera|
|00002920| 74 65 42 61 63 6b 77 61 | 72 64 5f 41 43 0d 0d 23 |teBackwa|rd_AC..#|
|00002930| 69 66 20 71 44 65 62 75 | 67 0d 63 6f 6e 73 74 20 |if qDebu|g.const |
|00002940| 53 69 67 6e 65 64 42 79 | 74 65 20 6b 4e 65 77 49 |SignedBy|te kNewI|
|00002950| 6e 69 74 56 61 6c 20 09 | 09 09 3d 20 6b 4e 65 77 |nitVal .|..= kNew|
|00002960| 49 6e 69 74 56 61 6c 5f | 41 43 3b 09 09 09 2f 2f |InitVal_|AC;...//|
|00002970| 20 64 65 62 75 67 67 69 | 6e 67 20 63 6f 6e 73 74 | debuggi|ng const|
|00002980| 61 6e 74 2c 20 6f 64 64 | 20 61 74 20 61 6c 6c 20 |ant, odd| at all |
|00002990| 62 79 74 65 20 62 6f 75 | 6e 64 61 72 69 65 73 20 |byte bou|ndaries |
|000029a0| 0d 63 6f 6e 73 74 20 53 | 69 67 6e 65 64 42 79 74 |.const S|ignedByt|
|000029b0| 65 20 6b 52 65 73 69 7a | 65 64 50 74 72 49 6e 69 |e kResiz|edPtrIni|
|000029c0| 74 56 61 6c 09 09 3d 20 | 6b 52 65 73 69 7a 65 64 |tVal..= |kResized|
|000029d0| 50 74 72 49 6e 69 74 56 | 61 6c 5f 41 43 3b 09 09 |PtrInitV|al_AC;..|
|000029e0| 2f 2f 20 64 65 62 75 67 | 67 69 6e 67 20 63 6f 6e |// debug|ging con|
|000029f0| 73 74 61 6e 74 2c 20 6f | 64 64 20 61 74 20 61 6c |stant, o|dd at al|
|00002a00| 6c 20 62 79 74 65 20 62 | 6f 75 6e 64 61 72 69 65 |l byte b|oundarie|
|00002a10| 73 20 0d 63 6f 6e 73 74 | 20 53 69 67 6e 65 64 42 |s .const| SignedB|
|00002a20| 79 74 65 20 6b 52 65 73 | 69 7a 65 64 49 6e 69 74 |yte kRes|izedInit|
|00002a30| 56 61 6c 20 09 09 3d 20 | 6b 52 65 73 69 7a 65 64 |Val ..= |kResized|
|00002a40| 49 6e 69 74 56 61 6c 5f | 41 43 3b 09 09 2f 2f 20 |InitVal_|AC;..// |
|00002a50| 64 65 62 75 67 67 69 6e | 67 20 63 6f 6e 73 74 61 |debuggin|g consta|
|00002a60| 6e 74 2c 20 6f 64 64 20 | 61 74 20 61 6c 6c 20 62 |nt, odd |at all b|
|00002a70| 79 74 65 20 62 6f 75 6e | 64 61 72 69 65 73 20 0d |yte boun|daries .|
|00002a80| 63 6f 6e 73 74 20 53 69 | 67 6e 65 64 42 79 74 65 |const Si|gnedByte|
|00002a90| 20 6b 44 69 73 70 6f 73 | 65 64 49 6e 69 74 56 61 | kDispos|edInitVa|
|00002aa0| 6c 20 09 09 3d 20 6b 44 | 69 73 70 6f 73 65 64 49 |l ..= kD|isposedI|
|00002ab0| 6e 69 74 56 61 6c 5f 41 | 43 3b 09 09 2f 2f 20 64 |nitVal_A|C;..// d|
|00002ac0| 65 62 75 67 67 69 6e 67 | 20 63 6f 6e 73 74 61 6e |ebugging| constan|
|00002ad0| 74 2c 20 6f 64 64 20 61 | 74 20 61 6c 6c 20 62 79 |t, odd a|t all by|
|00002ae0| 74 65 20 62 6f 75 6e 64 | 61 72 69 65 73 20 0d 23 |te bound|aries .#|
|00002af0| 65 6e 64 69 66 0d 0d 2f | 2f 20 67 6c 6f 62 61 6c |endif../|/ global|
|00002b00| 20 66 75 6e 63 74 69 6f | 6e 73 0d 23 64 65 66 69 | functio|ns.#defi|
|00002b10| 6e 65 20 4d 41 42 6c 6f | 63 6b 4d 6f 76 65 20 09 |ne MABlo|ckMove .|
|00002b20| 09 09 09 09 42 6c 6f 63 | 6b 4d 6f 76 65 5f 41 43 |....Bloc|kMove_AC|
|00002b30| 0d 23 64 65 66 69 6e 65 | 20 4d 41 42 6c 6f 63 6b |.#define| MABlock|
|00002b40| 4d 6f 76 65 4f 76 65 72 | 6c 61 70 20 09 09 09 09 |MoveOver|lap ....|
|00002b50| 42 6c 6f 63 6b 4d 6f 76 | 65 4f 76 65 72 6c 61 70 |BlockMov|eOverlap|
|00002b60| 5f 41 43 0d 0d 23 64 65 | 66 69 6e 65 20 47 65 74 |_AC..#de|fine Get|
|00002b70| 45 6e 76 69 72 6f 6e 73 | 56 65 72 73 69 6f 6e 28 |Environs|Version(|
|00002b80| 29 20 09 09 09 47 65 74 | 45 6e 76 69 72 6f 6e 73 |) ...Get|Environs|
|00002b90| 56 65 72 73 69 6f 6e 5f | 41 43 28 29 0d 23 64 65 |Version_|AC().#de|
|00002ba0| 66 69 6e 65 20 47 65 74 | 4d 61 63 68 69 6e 65 54 |fine Get|MachineT|
|00002bb0| 79 70 65 28 29 09 09 09 | 09 47 65 74 4d 61 63 68 |ype()...|.GetMach|
|00002bc0| 69 6e 65 54 79 70 65 5f | 41 43 28 29 0d 23 64 65 |ineType_|AC().#de|
|00002bd0| 66 69 6e 65 20 47 65 74 | 53 79 73 74 65 6d 56 65 |fine Get|SystemVe|
|00002be0| 72 73 69 6f 6e 28 29 09 | 09 09 09 47 65 74 53 79 |rsion().|...GetSy|
|00002bf0| 73 74 65 6d 56 65 72 73 | 69 6f 6e 5f 41 43 28 29 |stemVers|ion_AC()|
|00002c00| 0d 23 64 65 66 69 6e 65 | 20 48 61 73 43 6f 6c 6f |.#define| HasColo|
|00002c10| 72 51 44 28 29 09 09 09 | 09 09 48 61 73 43 6f 6c |rQD()...|..HasCol|
|00002c20| 6f 72 51 44 5f 41 43 28 | 29 0d 23 64 65 66 69 6e |orQD_AC(|).#defin|
|00002c30| 65 20 48 61 73 33 32 42 | 69 74 51 44 28 29 09 09 |e Has32B|itQD()..|
|00002c40| 09 09 09 48 61 73 33 32 | 42 69 74 51 44 5f 41 43 |...Has32|BitQD_AC|
|00002c50| 28 29 0d 23 64 65 66 69 | 6e 65 20 4b 65 79 62 6f |().#defi|ne Keybo|
|00002c60| 61 72 64 54 79 70 65 28 | 29 09 09 09 09 09 4b 65 |ardType(|).....Ke|
|00002c70| 79 62 6f 61 72 64 54 79 | 70 65 5f 41 43 28 29 0d |yboardTy|pe_AC().|
|00002c80| 23 64 65 66 69 6e 65 20 | 47 65 74 41 54 44 72 76 |#define |GetATDrv|
|00002c90| 72 56 65 72 73 4e 75 6d | 28 29 09 09 09 09 47 65 |rVersNum|()....Ge|
|00002ca0| 74 41 54 44 72 76 72 56 | 65 72 73 4e 75 6d 5f 41 |tATDrvrV|ersNum_A|
|00002cb0| 43 28 29 0d 23 64 65 66 | 69 6e 65 20 48 61 73 53 |C().#def|ine HasS|
|00002cc0| 43 53 49 28 29 09 09 09 | 09 09 09 48 61 73 53 43 |CSI()...|...HasSC|
|00002cd0| 53 49 5f 41 43 28 29 0d | 23 64 65 66 69 6e 65 20 |SI_AC().|#define |
|00002ce0| 48 61 73 41 55 58 28 29 | 09 09 09 09 09 09 48 61 |HasAUX()|......Ha|
|00002cf0| 73 41 55 58 5f 41 43 28 | 29 0d 23 64 65 66 69 6e |sAUX_AC(|).#defin|
|00002d00| 65 20 48 61 73 54 65 6d | 70 4d 65 6d 28 29 09 09 |e HasTem|pMem()..|
|00002d10| 09 09 09 48 61 73 54 65 | 6d 70 4d 65 6d 5f 41 43 |...HasTe|mpMem_AC|
|00002d20| 28 29 0d 23 64 65 66 69 | 6e 65 20 47 65 74 54 45 |().#defi|ne GetTE|
|00002d30| 56 65 72 73 69 6f 6e 28 | 29 09 09 09 09 09 47 65 |Version(|).....Ge|
|00002d40| 74 54 45 56 65 72 73 69 | 6f 6e 5f 41 43 28 29 0d |tTEVersi|on_AC().|
|00002d50| 23 64 65 66 69 6e 65 20 | 48 61 73 44 65 73 6b 74 |#define |HasDeskt|
|00002d60| 6f 70 42 75 73 28 29 09 | 09 09 09 09 48 61 73 44 |opBus().|....HasD|
|00002d70| 65 73 6b 74 6f 70 42 75 | 73 5f 41 43 28 29 0d 23 |esktopBu|s_AC().#|
|00002d80| 64 65 66 69 6e 65 20 48 | 61 73 54 72 75 65 54 79 |define H|asTrueTy|
|00002d90| 70 65 28 29 09 09 09 09 | 09 48 61 73 54 72 75 65 |pe()....|.HasTrue|
|00002da0| 54 79 70 65 5f 41 43 28 | 29 0d 23 64 65 66 69 6e |Type_AC(|).#defin|
|00002db0| 65 20 48 61 73 54 68 72 | 65 61 64 4d 61 6e 61 67 |e HasThr|eadManag|
|00002dc0| 65 72 28 29 09 09 09 09 | 48 61 73 54 68 72 65 61 |er()....|HasThrea|
|00002dd0| 64 4d 61 6e 61 67 65 72 | 5f 41 43 28 29 0d 23 64 |dManager|_AC().#d|
|00002de0| 65 66 69 6e 65 20 48 61 | 73 51 44 47 58 47 72 61 |efine Ha|sQDGXGra|
|00002df0| 70 68 69 63 73 28 29 09 | 09 09 09 48 61 73 51 44 |phics().|...HasQD|
|00002e00| 47 58 47 72 61 70 68 69 | 63 73 5f 41 43 28 29 0d |GXGraphi|cs_AC().|
|00002e10| 23 64 65 66 69 6e 65 20 | 48 61 73 51 44 47 58 50 |#define |HasQDGXP|
|00002e20| 72 69 6e 74 69 6e 67 28 | 29 09 09 09 09 48 61 73 |rinting(|)....Has|
|00002e30| 51 44 47 58 50 72 69 6e | 74 69 6e 67 5f 41 43 28 |QDGXPrin|ting_AC(|
|00002e40| 29 0d 23 64 65 66 69 6e | 65 20 48 61 73 43 46 4d |).#defin|e HasCFM|
|00002e50| 28 29 09 09 09 09 09 09 | 48 61 73 43 46 4d 5f 41 |()......|HasCFM_A|
|00002e60| 43 28 29 0d 23 64 65 66 | 69 6e 65 20 48 61 73 54 |C().#def|ine HasT|
|00002e70| 72 61 6e 73 6c 61 74 69 | 6f 6e 4d 61 6e 61 67 65 |ranslati|onManage|
|00002e80| 72 28 29 09 09 09 48 61 | 73 54 72 61 6e 73 6c 61 |r()...Ha|sTransla|
|00002e90| 74 69 6f 6e 4d 61 6e 61 | 67 65 72 5f 41 43 28 29 |tionMana|ger_AC()|
|00002ea0| 0d 23 64 65 66 69 6e 65 | 20 48 61 73 53 70 65 65 |.#define| HasSpee|
|00002eb0| 63 68 4d 61 6e 61 67 65 | 72 28 29 09 09 09 09 48 |chManage|r()....H|
|00002ec0| 61 73 53 70 65 65 63 68 | 4d 61 6e 61 67 65 72 5f |asSpeech|Manager_|
|00002ed0| 41 43 28 29 0d 23 64 65 | 66 69 6e 65 20 48 61 73 |AC().#de|fine Has|
|00002ee0| 43 75 73 74 6f 6d 46 69 | 6c 65 28 29 09 09 09 09 |CustomFi|le()....|
|00002ef0| 09 48 61 73 43 75 73 74 | 6f 6d 46 69 6c 65 5f 41 |.HasCust|omFile_A|
|00002f00| 43 28 29 0d 23 64 65 66 | 69 6e 65 20 48 61 73 51 |C().#def|ine HasQ|
|00002f10| 75 69 63 6b 54 69 6d 65 | 28 29 09 09 09 09 09 48 |uickTime|().....H|
|00002f20| 61 73 51 75 69 63 6b 54 | 69 6d 65 5f 41 43 28 29 |asQuickT|ime_AC()|
|00002f30| 0d 23 64 65 66 69 6e 65 | 20 48 61 73 54 53 4d 28 |.#define| HasTSM(|
|00002f40| 29 09 09 09 09 09 09 48 | 61 73 54 53 4d 5f 41 43 |)......H|asTSM_AC|
|00002f50| 28 29 0d 23 64 65 66 69 | 6e 65 20 48 61 73 41 70 |().#defi|ne HasAp|
|00002f60| 70 6c 65 53 63 72 69 70 | 74 28 29 09 09 09 09 48 |pleScrip|t()....H|
|00002f70| 61 73 41 70 70 6c 65 53 | 63 72 69 70 74 5f 41 43 |asAppleS|cript_AC|
|00002f80| 28 29 0d 23 64 65 66 69 | 6e 65 20 48 61 73 41 70 |().#defi|ne HasAp|
|00002f90| 70 6c 65 47 75 69 64 65 | 28 29 09 09 09 09 09 48 |pleGuide|().....H|
|00002fa0| 61 73 41 70 70 6c 65 47 | 75 69 64 65 5f 41 43 28 |asAppleG|uide_AC(|
|00002fb0| 29 0d 23 64 65 66 69 6e | 65 20 48 61 73 51 75 69 |).#defin|e HasQui|
|00002fc0| 63 6b 44 72 61 77 33 44 | 28 29 09 09 09 09 48 61 |ckDraw3D|()....Ha|
|00002fd0| 73 51 75 69 63 6b 44 72 | 61 77 33 44 5f 41 43 28 |sQuickDr|aw3D_AC(|
|00002fe0| 29 0d 23 64 65 66 69 6e | 65 20 48 61 73 51 75 69 |).#defin|e HasQui|
|00002ff0| 63 6b 44 72 61 77 33 44 | 56 69 65 77 65 72 28 29 |ckDraw3D|Viewer()|
|00003000| 09 09 09 48 61 73 51 75 | 69 63 6b 44 72 61 77 33 |...HasQu|ickDraw3|
|00003010| 44 56 69 65 77 65 72 5f | 41 43 28 29 0d 23 64 65 |DViewer_|AC().#de|
|00003020| 66 69 6e 65 20 48 61 73 | 44 72 61 67 4d 61 6e 61 |fine Has|DragMana|
|00003030| 67 65 72 28 29 09 09 09 | 09 48 61 73 44 72 61 67 |ger()...|.HasDrag|
|00003040| 4d 61 6e 61 67 65 72 5f | 41 43 28 29 0d 23 64 65 |Manager_|AC().#de|
|00003050| 66 69 6e 65 20 48 61 73 | 41 4f 43 45 54 6f 6f 6c |fine Has|AOCETool|
|00003060| 42 6f 78 28 29 09 09 09 | 09 48 61 73 41 4f 43 45 |Box()...|.HasAOCE|
|00003070| 54 6f 6f 6c 42 6f 78 5f | 41 43 28 29 0d 23 64 65 |ToolBox_|AC().#de|
|00003080| 66 69 6e 65 20 4e 65 77 | 4c 69 73 74 28 29 09 09 |fine New|List()..|
|00003090| 09 09 09 09 4e 65 77 4c | 69 73 74 5f 41 43 28 29 |....NewL|ist_AC()|
|000030a0| 0d 0d 2f 2f 09 2f 2f 20 | 52 65 6d 6f 76 65 64 20 |..//.// |Removed |
|000030b0| 64 75 65 20 74 6f 20 41 | 53 4c 4d 20 72 65 6d 6f |due to A|SLM remo|
|000030c0| 76 61 6c 20 76 73 2e 20 | 64 65 69 6e 73 74 61 6c |val vs. |deinstal|
|000030d0| 6c 20 70 72 6f 62 6c 65 | 6d 73 2e 0d 2f 2f 09 62 |l proble|ms..//.b|
|000030e0| 6f 6f 6c 20 48 61 73 41 | 53 4c 4d 28 29 3b 0d 0d |ool HasA|SLM();..|
|000030f0| 23 64 65 66 69 6e 65 20 | 4d 69 6e 28 61 2c 62 29 |#define |Min(a,b)|
|00003100| 20 20 20 20 09 09 09 09 | 09 4d 69 6e 5f 41 43 28 | ....|.Min_AC(|
|00003110| 28 61 29 2c 20 28 62 29 | 29 20 20 20 0d 23 64 65 |(a), (b)|) .#de|
|00003120| 66 69 6e 65 20 4d 61 78 | 28 61 2c 62 29 20 20 20 |fine Max|(a,b) |
|00003130| 20 20 09 09 09 09 09 4d | 61 78 5f 41 43 28 28 61 | .....M|ax_AC((a|
|00003140| 29 2c 20 28 62 29 29 20 | 20 20 0d 23 64 65 66 69 |), (b)) | .#defi|
|00003150| 6e 65 20 4d 69 6e 4d 61 | 78 28 09 6d 69 6e 56 61 |ne MinMa|x(.minVa|
|00003160| 6c 2c 20 5c 0d 09 09 09 | 09 65 78 70 72 65 73 73 |l, \....|.express|
|00003170| 69 6f 6e 2c 20 6d 61 78 | 56 61 6c 29 20 20 20 20 |ion, max|Val) |
|00003180| 20 4d 69 6e 4d 61 78 5f | 41 43 28 28 6d 69 6e 56 | MinMax_|AC((minV|
|00003190| 61 6c 29 2c 20 28 65 78 | 70 72 65 73 73 69 6f 6e |al), (ex|pression|
|000031a0| 29 2c 20 28 6d 61 78 56 | 61 6c 29 29 20 20 20 0d |), (maxV|al)) .|
|000031b0| 20 0d 23 64 65 66 69 6e | 65 20 44 69 73 70 6f 73 | .#defin|e Dispos|
|000031c0| 65 49 66 48 61 6e 64 6c | 65 28 61 48 61 6e 64 6c |eIfHandl|e(aHandl|
|000031d0| 65 29 20 09 09 44 69 73 | 70 6f 73 65 49 66 48 61 |e) ..Dis|poseIfHa|
|000031e0| 6e 64 6c 65 5f 41 43 28 | 28 61 48 61 6e 64 6c 65 |ndle_AC(|(aHandle|
|000031f0| 29 29 0d 23 64 65 66 69 | 6e 65 20 44 69 73 70 6f |)).#defi|ne Dispo|
|00003200| 73 65 49 66 50 74 72 28 | 61 50 74 72 29 09 09 09 |seIfPtr(|aPtr)...|
|00003210| 44 69 73 70 6f 73 65 49 | 66 50 74 72 5f 41 43 28 |DisposeI|fPtr_AC(|
|00003220| 28 61 50 74 72 29 29 0d | 23 64 65 66 69 6e 65 20 |(aPtr)).|#define |
|00003230| 42 6c 6f 63 6b 53 65 74 | 28 64 65 73 74 50 74 72 |BlockSet|(destPtr|
|00003240| 2c 62 79 74 65 43 6f 75 | 6e 74 2c 5c 0d 09 09 09 |,byteCou|nt,\....|
|00003250| 09 73 65 74 56 61 6c 29 | 09 09 09 09 09 42 6c 6f |.setVal)|.....Blo|
|00003260| 63 6b 53 65 74 5f 41 43 | 28 28 64 65 73 74 50 74 |ckSet_AC|((destPt|
|00003270| 72 29 2c 20 28 62 79 74 | 65 43 6f 75 6e 74 29 2c |r), (byt|eCount),|
|00003280| 20 28 73 65 74 56 61 6c | 29 29 0d 23 64 65 66 69 | (setVal|)).#defi|
|00003290| 6e 65 20 49 73 41 52 65 | 73 6f 75 72 63 65 28 68 |ne IsARe|source(h|
|000032a0| 29 20 09 09 09 09 09 49 | 73 41 52 65 73 6f 75 72 |) .....I|sAResour|
|000032b0| 63 65 5f 41 43 28 28 68 | 29 29 0d 0d 0d 23 64 65 |ce_AC((h|))...#de|
|000032c0| 66 69 6e 65 20 49 73 48 | 61 6e 64 6c 65 4c 6f 63 |fine IsH|andleLoc|
|000032d0| 6b 65 64 28 68 29 20 09 | 09 09 09 49 73 48 61 6e |ked(h) .|...IsHan|
|000032e0| 64 6c 65 4c 6f 63 6b 65 | 64 5f 41 43 28 28 68 29 |dleLocke|d_AC((h)|
|000032f0| 29 0d 23 64 65 66 69 6e | 65 20 43 6f 70 79 48 61 |).#defin|e CopyHa|
|00003300| 6e 64 6c 65 28 69 6e 48 | 61 6e 64 6c 65 2c 20 6f |ndle(inH|andle, o|
|00003310| 75 74 48 61 6e 64 6c 65 | 29 20 43 6f 70 79 48 61 |utHandle|) CopyHa|
|00003320| 6e 64 6c 65 5f 41 43 28 | 28 69 6e 48 61 6e 64 6c |ndle_AC(|(inHandl|
|00003330| 65 29 2c 28 20 6f 75 74 | 48 61 6e 64 6c 65 29 29 |e),( out|Handle))|
|00003340| 0d 23 64 65 66 69 6e 65 | 20 4d 41 43 75 72 52 65 |.#define| MACurRe|
|00003350| 73 46 69 6c 65 28 29 20 | 09 09 09 09 09 43 75 72 |sFile() |.....Cur|
|00003360| 52 65 73 46 69 6c 65 5f | 41 43 28 29 0d 23 64 65 |ResFile_|AC().#de|
|00003370| 66 69 6e 65 20 4d 41 55 | 73 65 52 65 73 46 69 6c |fine MAU|seResFil|
|00003380| 65 28 72 65 66 4e 75 6d | 29 20 09 09 09 55 73 65 |e(refNum|) ...Use|
|00003390| 52 65 73 46 69 6c 65 5f | 41 43 28 28 72 65 66 4e |ResFile_|AC((refN|
|000033a0| 75 6d 29 29 0d 0d 69 6e | 6c 69 6e 65 20 53 69 67 |um))..in|line Sig|
|000033b0| 6e 65 64 42 79 74 65 20 | 4c 6f 63 6b 48 61 6e 64 |nedByte |LockHand|
|000033c0| 6c 65 28 48 61 6e 64 6c | 65 20 68 2c 20 45 4d 6f |le(Handl|e h, EMo|
|000033d0| 76 65 48 69 53 74 61 74 | 65 20 68 69 67 68 20 3d |veHiStat|e high =|
|000033e0| 20 65 44 6f 6e 74 4d 6f | 76 65 48 69 29 0d 7b 09 | eDontMo|veHi).{.|
|000033f0| 72 65 74 75 72 6e 20 4c | 6f 63 6b 48 61 6e 64 6c |return L|ockHandl|
|00003400| 65 5f 41 43 28 68 2c 20 | 68 69 67 68 29 3b 20 7d |e_AC(h, |high); }|
|00003410| 20 2f 2f 20 63 61 6e 27 | 74 20 68 61 76 65 20 64 | // can'|t have d|
|00003420| 65 66 61 75 6c 74 20 70 | 61 72 61 6d 73 20 77 69 |efault p|arams wi|
|00003430| 74 68 20 61 20 6d 61 63 | 72 6f 0d 0d 69 6e 6c 69 |th a mac|ro..inli|
|00003440| 6e 65 20 76 6f 69 64 20 | 4d 41 54 65 78 74 42 6f |ne void |MATextBo|
|00003450| 78 28 50 74 72 20 74 65 | 78 74 2c 0d 09 09 09 20 |x(Ptr te|xt,.... |
|00003460| 20 20 73 68 6f 72 74 20 | 69 74 73 4c 65 6e 67 74 | short |itsLengt|
|00003470| 68 2c 0d 09 09 09 20 20 | 20 63 6f 6e 73 74 20 43 |h,.... | const C|
|00003480| 52 65 63 74 5f 41 43 26 | 20 62 6f 78 2c 0d 09 09 |Rect_AC&| box,...|
|00003490| 09 20 20 20 73 68 6f 72 | 74 20 69 74 73 4a 75 73 |. shor|t itsJus|
|000034a0| 74 2c 0d 09 09 09 20 20 | 20 62 6f 6f 6c 20 61 75 |t,.... | bool au|
|000034b0| 74 6f 57 72 61 70 20 3d | 20 6b 41 75 74 6f 57 72 |toWrap =| kAutoWr|
|000034c0| 61 70 2c 0d 09 09 09 20 | 20 20 50 72 6f 63 50 74 |ap,.... | ProcPt|
|000034d0| 72 20 77 6f 72 64 42 72 | 65 61 6b 20 3d 20 4e 55 |r wordBr|eak = NU|
|000034e0| 4c 4c 2c 0d 09 09 09 20 | 20 20 62 6f 6f 6c 20 65 |LL,.... | bool e|
|000034f0| 72 61 73 65 46 69 72 73 | 74 20 3d 20 6b 4e 6f 45 |raseFirs|t = kNoE|
|00003500| 72 61 73 65 46 69 72 73 | 74 2c 0d 09 09 09 20 20 |raseFirs|t,.... |
|00003510| 20 62 6f 6f 6c 20 73 70 | 61 63 65 46 6f 72 43 61 | bool sp|aceForCa|
|00003520| 72 65 74 20 3d 20 6b 53 | 70 61 63 65 46 6f 72 43 |ret = kS|paceForC|
|00003530| 61 72 65 74 2c 0d 09 09 | 09 20 20 20 62 6f 6f 6c |aret,...|. bool|
|00003540| 20 70 72 65 66 65 72 4f | 75 74 6c 69 6e 65 20 3d | preferO|utline =|
|00003550| 20 6b 44 6f 6e 74 50 72 | 65 66 65 72 4f 75 74 6c | kDontPr|eferOutl|
|00003560| 69 6e 65 46 6f 6e 74 73 | 29 09 0d 7b 20 54 65 78 |ineFonts|)..{ Tex|
|00003570| 74 42 6f 78 5f 41 43 28 | 74 65 78 74 2c 20 69 74 |tBox_AC(|text, it|
|00003580| 73 4c 65 6e 67 74 68 2c | 20 62 6f 78 2c 20 69 74 |sLength,| box, it|
|00003590| 73 4a 75 73 74 2c 20 61 | 75 74 6f 57 72 61 70 2c |sJust, a|utoWrap,|
|000035a0| 20 77 6f 72 64 42 72 65 | 61 6b 2c 20 65 72 61 73 | wordBre|ak, eras|
|000035b0| 65 46 69 72 73 74 2c 20 | 73 70 61 63 65 46 6f 72 |eFirst, |spaceFor|
|000035c0| 43 61 72 65 74 2c 20 70 | 72 65 66 65 72 4f 75 74 |Caret, p|referOut|
|000035d0| 6c 69 6e 65 29 3b 20 7d | 20 0d 2f 2f 20 63 61 6e |line); }| .// can|
|000035e0| 27 74 20 68 61 76 65 20 | 64 65 66 61 75 6c 74 20 |'t have |default |
|000035f0| 70 61 72 61 6d 73 20 77 | 69 74 68 20 61 20 6d 61 |params w|ith a ma|
|00003600| 63 72 6f 0d 0d 23 69 66 | 20 71 44 65 62 75 67 0d |cro..#if| qDebug.|
|00003610| 23 64 65 66 69 6e 65 20 | 49 73 48 61 6e 64 6c 65 |#define |IsHandle|
|00003620| 28 68 29 09 09 09 09 09 | 09 49 73 48 61 6e 64 6c |(h).....|.IsHandl|
|00003630| 65 5f 41 43 28 28 68 29 | 29 0d 23 65 6e 64 69 66 |e_AC((h)|).#endif|
|00003640| 0d 0d 23 64 65 66 69 6e | 65 20 44 65 70 65 6e 64 |..#defin|e Depend|
|00003650| 65 6e 63 79 4c 61 62 65 | 6c 73 09 09 09 09 44 65 |encyLabe|ls....De|
|00003660| 70 65 6e 64 65 6e 63 79 | 4c 61 62 65 6c 73 5f 41 |pendency|Labels_A|
|00003670| 43 0d 0d 23 64 65 66 69 | 6e 65 09 4e 65 77 41 6c |C..#defi|ne.NewAl|
|00003680| 6c 6f 63 61 74 65 64 4c | 69 73 74 28 29 09 09 09 |locatedL|ist()...|
|00003690| 09 4e 65 77 41 6c 6c 6f | 63 61 74 65 64 4c 69 73 |.NewAllo|catedLis|
|000036a0| 74 5f 41 43 28 29 0d 23 | 64 65 66 69 6e 65 20 4e |t_AC().#|define N|
|000036b0| 65 77 53 6f 72 74 65 64 | 4c 69 73 74 28 29 09 09 |ewSorted|List()..|
|000036c0| 09 09 09 4e 65 77 53 6f | 72 74 65 64 4c 69 73 74 |...NewSo|rtedList|
|000036d0| 5f 41 43 28 29 0d 0d 2f | 2f 3d 3d 3d 3d 3d 3d 3d |_AC()../|/=======|
|000036e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000036f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003700| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003710| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003720| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003730| 3d 0d 2f 2f 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |=.// The| followi|
|00003740| 6e 67 20 67 6c 6f 62 61 | 6c 20 72 6f 75 74 69 6e |ng globa|l routin|
|00003750| 65 73 20 77 65 72 65 20 | 6f 72 69 67 69 6e 61 6c |es were |original|
|00003760| 6c 79 20 66 6f 72 20 50 | 61 73 63 61 6c 20 63 6f |ly for P|ascal co|
|00003770| 6d 70 61 74 69 62 69 6c | 69 74 79 2e 20 54 68 65 |mpatibil|ity. The|
|00003780| 79 20 61 72 65 20 62 61 | 73 69 63 61 6c 6c 79 0d |y are ba|sically.|
|00003790| 2f 2f 20 77 72 61 70 70 | 65 72 73 20 74 68 61 74 |// wrapp|ers that|
|000037a0| 20 63 61 6c 6c 20 62 61 | 63 6b 20 69 6e 74 6f 20 | call ba|ck into |
|000037b0| 74 68 65 20 6d 65 74 68 | 6f 64 73 20 69 6e 20 56 |the meth|ods in V|
|000037c0| 52 65 63 74 20 61 6e 64 | 20 56 50 6f 69 6e 74 2e |Rect and| VPoint.|
|000037d0| 20 43 2b 2b 20 70 72 6f | 67 72 61 6d 73 20 73 68 | C++ pro|grams sh|
|000037e0| 6f 75 6c 64 20 75 73 65 | 0d 2f 2f 20 74 68 65 20 |ould use|.// the |
|000037f0| 6d 65 74 68 6f 64 73 20 | 69 6e 20 56 52 65 63 74 |methods |in VRect|
|00003800| 20 61 6e 64 20 56 50 6f | 69 6e 74 20 74 6f 20 61 | and VPo|int to a|
|00003810| 76 6f 69 64 20 74 68 65 | 20 61 64 64 69 74 69 6f |void the| additio|
|00003820| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 63 61 6c |nal func|tion cal|
|00003830| 6c 20 6f 76 65 72 68 65 | 61 64 2e 0d 2f 2f 3d 3d |l overhe|ad..//==|
|00003840| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003850| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003860| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003870| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003880| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003890| 3d 3d 3d 3d 3d 3d 0d 0d | 45 58 50 4f 52 54 5f 4d |======..|EXPORT_M|
|000038a0| 41 20 76 6f 69 64 20 50 | 74 54 6f 56 50 74 28 63 |A void P|tToVPt(c|
|000038b0| 6f 6e 73 74 20 43 50 6f | 69 6e 74 5f 41 43 20 74 |onst CPo|int_AC t|
|000038c0| 68 65 50 74 2c 20 56 50 | 6f 69 6e 74 26 20 74 68 |hePt, VP|oint& th|
|000038d0| 65 56 50 74 29 3b 0d 45 | 58 50 4f 52 54 5f 4d 41 |eVPt);.E|XPORT_MA|
|000038e0| 20 43 50 6f 69 6e 74 5f | 41 43 20 56 50 74 54 6f | CPoint_|AC VPtTo|
|000038f0| 50 74 28 63 6f 6e 73 74 | 20 56 50 6f 69 6e 74 26 |Pt(const| VPoint&|
|00003900| 20 74 68 65 56 50 74 29 | 3b 0d 45 58 50 4f 52 54 | theVPt)|;.EXPORT|
|00003910| 5f 4d 41 20 76 6f 69 64 | 20 52 65 63 74 54 6f 56 |_MA void| RectToV|
|00003920| 52 65 63 74 28 63 6f 6e | 73 74 20 43 52 65 63 74 |Rect(con|st CRect|
|00003930| 5f 41 43 26 20 74 68 65 | 52 65 63 74 2c 20 56 52 |_AC& the|Rect, VR|
|00003940| 65 63 74 26 20 74 68 65 | 56 52 65 63 74 29 3b 0d |ect& the|VRect);.|
|00003950| 45 58 50 4f 52 54 5f 4d | 41 20 76 6f 69 64 20 56 |EXPORT_M|A void V|
|00003960| 52 65 63 74 54 6f 52 65 | 63 74 28 63 6f 6e 73 74 |RectToRe|ct(const|
|00003970| 20 56 52 65 63 74 26 20 | 74 68 65 56 52 65 63 74 | VRect& |theVRect|
|00003980| 2c 20 43 52 65 63 74 5f | 41 43 26 20 74 68 65 52 |, CRect_|AC& theR|
|00003990| 65 63 74 29 3b 0d 45 58 | 50 4f 52 54 5f 4d 41 20 |ect);.EX|PORT_MA |
|000039a0| 76 6f 69 64 20 41 64 64 | 56 50 74 28 63 6f 6e 73 |void Add|VPt(cons|
|000039b0| 74 20 56 50 6f 69 6e 74 | 26 20 73 72 63 56 50 74 |t VPoint|& srcVPt|
|000039c0| 2c 20 56 50 6f 69 6e 74 | 26 20 64 73 74 56 50 74 |, VPoint|& dstVPt|
|000039d0| 29 3b 0d 45 58 50 4f 52 | 54 5f 4d 41 20 76 6f 69 |);.EXPOR|T_MA voi|
|000039e0| 64 20 53 75 62 56 50 74 | 28 63 6f 6e 73 74 20 56 |d SubVPt|(const V|
|000039f0| 50 6f 69 6e 74 26 20 73 | 72 63 56 50 74 2c 20 56 |Point& s|rcVPt, V|
|00003a00| 50 6f 69 6e 74 26 20 64 | 73 74 56 50 74 29 3b 0d |Point& d|stVPt);.|
|00003a10| 45 58 50 4f 52 54 5f 4d | 41 20 76 6f 69 64 20 53 |EXPORT_M|A void S|
|00003a20| 65 74 56 50 74 28 56 50 | 6f 69 6e 74 26 20 76 50 |etVPt(VP|oint& vP|
|00003a30| 74 2c 20 56 43 6f 6f 72 | 64 69 6e 61 74 65 20 68 |t, VCoor|dinate h|
|00003a40| 2c 20 56 43 6f 6f 72 64 | 69 6e 61 74 65 20 76 29 |, VCoord|inate v)|
|00003a50| 3b 0d 45 58 50 4f 52 54 | 5f 4d 41 20 62 6f 6f 6c |;.EXPORT|_MA bool|
|00003a60| 20 45 71 75 61 6c 56 50 | 74 28 63 6f 6e 73 74 20 | EqualVP|t(const |
|00003a70| 56 50 6f 69 6e 74 26 20 | 61 56 50 74 2c 20 63 6f |VPoint& |aVPt, co|
|00003a80| 6e 73 74 20 56 50 6f 69 | 6e 74 26 20 62 56 50 74 |nst VPoi|nt& bVPt|
|00003a90| 29 3b 0d 45 58 50 4f 52 | 54 5f 4d 41 20 76 6f 69 |);.EXPOR|T_MA voi|
|00003aa0| 64 20 53 65 74 56 52 65 | 63 74 28 56 52 65 63 74 |d SetVRe|ct(VRect|
|00003ab0| 26 20 76 52 74 2c 0d 09 | 09 09 20 20 56 43 6f 6f |& vRt,..|.. VCoo|
|00003ac0| 72 64 69 6e 61 74 65 20 | 6c 65 66 74 2c 20 56 43 |rdinate |left, VC|
|00003ad0| 6f 6f 72 64 69 6e 61 74 | 65 20 74 6f 70 2c 0d 09 |oordinat|e top,..|
|00003ae0| 09 09 20 20 56 43 6f 6f | 72 64 69 6e 61 74 65 20 |.. VCoo|rdinate |
|00003af0| 72 69 67 68 74 2c 20 56 | 43 6f 6f 72 64 69 6e 61 |right, V|Coordina|
|00003b00| 74 65 20 62 6f 74 74 6f | 6d 29 3b 0d 45 58 50 4f |te botto|m);.EXPO|
|00003b10| 52 54 5f 4d 41 20 76 6f | 69 64 20 4f 66 66 73 65 |RT_MA vo|id Offse|
|00003b20| 74 56 52 65 63 74 28 56 | 52 65 63 74 26 20 76 52 |tVRect(V|Rect& vR|
|00003b30| 74 2c 20 56 43 6f 6f 72 | 64 69 6e 61 74 65 20 64 |t, VCoor|dinate d|
|00003b40| 68 2c 20 56 43 6f 6f 72 | 64 69 6e 61 74 65 20 64 |h, VCoor|dinate d|
|00003b50| 76 29 3b 0d 45 58 50 4f | 52 54 5f 4d 41 20 76 6f |v);.EXPO|RT_MA vo|
|00003b60| 69 64 20 49 6e 73 65 74 | 56 52 65 63 74 28 56 52 |id Inset|VRect(VR|
|00003b70| 65 63 74 26 20 76 52 74 | 2c 20 56 43 6f 6f 72 64 |ect& vRt|, VCoord|
|00003b80| 69 6e 61 74 65 20 64 68 | 2c 20 56 43 6f 6f 72 64 |inate dh|, VCoord|
|00003b90| 69 6e 61 74 65 20 64 76 | 29 3b 0d 45 58 50 4f 52 |inate dv|);.EXPOR|
|00003ba0| 54 5f 4d 41 20 76 6f 69 | 64 20 50 74 32 56 52 65 |T_MA voi|d Pt2VRe|
|00003bb0| 63 74 28 63 6f 6e 73 74 | 20 56 50 6f 69 6e 74 26 |ct(const| VPoint&|
|00003bc0| 20 74 68 65 54 6f 70 4c | 65 66 74 2c 20 63 6f 6e | theTopL|eft, con|
|00003bd0| 73 74 20 56 50 6f 69 6e | 74 26 20 74 68 65 42 6f |st VPoin|t& theBo|
|00003be0| 74 52 69 67 68 74 2c 20 | 56 52 65 63 74 26 20 76 |tRight, |VRect& v|
|00003bf0| 52 74 29 3b 0d 45 58 50 | 4f 52 54 5f 4d 41 20 62 |Rt);.EXP|ORT_MA b|
|00003c00| 6f 6f 6c 20 50 74 49 6e | 56 52 65 63 74 28 63 6f |ool PtIn|VRect(co|
|00003c10| 6e 73 74 20 56 50 6f 69 | 6e 74 26 20 76 50 74 2c |nst VPoi|nt& vPt,|
|00003c20| 20 63 6f 6e 73 74 20 56 | 52 65 63 74 26 20 76 52 | const V|Rect& vR|
|00003c30| 74 29 3b 0d 45 58 50 4f | 52 54 5f 4d 41 20 62 6f |t);.EXPO|RT_MA bo|
|00003c40| 6f 6c 20 45 6d 70 74 79 | 56 52 65 63 74 28 63 6f |ol Empty|VRect(co|
|00003c50| 6e 73 74 20 56 52 65 63 | 74 26 20 76 52 74 29 3b |nst VRec|t& vRt);|
|00003c60| 0d 45 58 50 4f 52 54 5f | 4d 41 20 62 6f 6f 6c 20 |.EXPORT_|MA bool |
|00003c70| 45 71 75 61 6c 56 52 65 | 63 74 28 63 6f 6e 73 74 |EqualVRe|ct(const|
|00003c80| 20 56 52 65 63 74 26 20 | 61 56 52 74 2c 20 63 6f | VRect& |aVRt, co|
|00003c90| 6e 73 74 20 56 52 65 63 | 74 26 20 62 56 52 74 29 |nst VRec|t& bVRt)|
|00003ca0| 3b 0d 45 58 50 4f 52 54 | 5f 4d 41 20 56 43 6f 6f |;.EXPORT|_MA VCoo|
|00003cb0| 72 64 69 6e 61 74 65 20 | 4c 65 6e 67 74 68 56 52 |rdinate |LengthVR|
|00003cc0| 65 63 74 28 63 6f 6e 73 | 74 20 56 52 65 63 74 26 |ect(cons|t VRect&|
|00003cd0| 20 76 52 74 2c 20 56 48 | 53 65 6c 65 63 74 20 77 | vRt, VH|Select w|
|00003ce0| 68 69 63 68 44 69 6d 29 | 3b 0d 45 58 50 4f 52 54 |hichDim)|;.EXPORT|
|00003cf0| 5f 4d 41 20 76 6f 69 64 | 20 50 69 6e 56 52 65 63 |_MA void| PinVRec|
|00003d00| 74 28 63 6f 6e 73 74 20 | 56 52 65 63 74 26 20 76 |t(const |VRect& v|
|00003d10| 52 74 2c 20 56 50 6f 69 | 6e 74 26 20 76 50 74 29 |Rt, VPoi|nt& vPt)|
|00003d20| 3b 0d 45 58 50 4f 52 54 | 5f 4d 41 20 62 6f 6f 6c |;.EXPORT|_MA bool|
|00003d30| 20 53 65 63 74 56 52 65 | 63 74 28 63 6f 6e 73 74 | SectVRe|ct(const|
|00003d40| 20 56 52 65 63 74 26 20 | 73 72 63 31 2c 20 63 6f | VRect& |src1, co|
|00003d50| 6e 73 74 20 56 52 65 63 | 74 26 20 73 72 63 32 2c |nst VRec|t& src2,|
|00003d60| 20 56 52 65 63 74 26 20 | 64 73 74 29 3b 0d 45 58 | VRect& |dst);.EX|
|00003d70| 50 4f 52 54 5f 4d 41 20 | 76 6f 69 64 20 55 6e 69 |PORT_MA |void Uni|
|00003d80| 6f 6e 56 52 65 63 74 28 | 63 6f 6e 73 74 20 56 52 |onVRect(|const VR|
|00003d90| 65 63 74 26 20 73 72 63 | 31 2c 20 63 6f 6e 73 74 |ect& src|1, const|
|00003da0| 20 56 52 65 63 74 26 20 | 73 72 63 32 2c 20 56 52 | VRect& |src2, VR|
|00003db0| 65 63 74 26 20 64 73 74 | 29 3b 0d 0d 2f 2f 20 54 |ect& dst|);..// T|
|00003dc0| 68 65 73 65 20 74 77 6f | 20 77 65 72 65 20 6d 6f |hese two| were mo|
|00003dd0| 76 65 64 20 66 72 6f 6d | 20 55 4d 61 63 41 70 70 |ved from| UMacApp|
|00003de0| 55 74 69 6c 69 74 69 65 | 73 2e 68 0d 0d 69 6e 6c |Utilitie|s.h..inl|
|00003df0| 69 6e 65 20 62 6f 6f 6c | 20 52 65 63 74 73 4e 65 |ine bool| RectsNe|
|00003e00| 73 74 28 63 6f 6e 73 74 | 20 43 52 65 63 74 5f 41 |st(const| CRect_A|
|00003e10| 43 26 20 6f 75 74 65 72 | 2c 20 63 6f 6e 73 74 20 |C& outer|, const |
|00003e20| 43 52 65 63 74 5f 41 43 | 26 20 69 6e 6e 65 72 29 |CRect_AC|& inner)|
|00003e30| 0d 7b 20 72 65 74 75 72 | 6e 20 6f 75 74 65 72 2e |.{ retur|n outer.|
|00003e40| 43 6f 6e 74 61 69 6e 73 | 28 69 6e 6e 65 72 29 3b |Contains|(inner);|
|00003e50| 20 7d 0d 0d 69 6e 6c 69 | 6e 65 20 62 6f 6f 6c 20 | }..inli|ne bool |
|00003e60| 56 52 65 63 74 73 4e 65 | 73 74 28 63 6f 6e 73 74 |VRectsNe|st(const|
|00003e70| 20 56 52 65 63 74 26 20 | 6f 75 74 65 72 2c 20 63 | VRect& |outer, c|
|00003e80| 6f 6e 73 74 20 56 52 65 | 63 74 26 20 69 6e 6e 65 |onst VRe|ct& inne|
|00003e90| 72 29 0d 7b 20 72 65 74 | 75 72 6e 20 6f 75 74 65 |r).{ ret|urn oute|
|00003ea0| 72 2e 43 6f 6e 74 61 69 | 6e 73 28 69 6e 6e 65 72 |r.Contai|ns(inner|
|00003eb0| 29 3b 20 7d 0d 0d 0d 2f | 2f 20 52 31 33 20 72 65 |); }.../|/ R13 re|
|00003ec0| 70 6c 61 63 65 73 20 74 | 68 69 73 20 63 6c 61 73 |places t|his clas|
|00003ed0| 73 20 77 69 74 68 20 61 | 20 74 65 6d 70 6f 72 61 |s with a| tempora|
|00003ee0| 72 79 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 63 6c |ry alloc|ation cl|
|00003ef0| 61 73 73 20 66 6f 72 20 | 63 6f 6e 73 69 73 74 65 |ass for |consiste|
|00003f00| 6e 63 79 20 77 69 74 68 | 20 43 54 65 6d 70 41 6c |ncy with| CTempAl|
|00003f10| 6c 6f 63 61 74 69 6f 6e | 0d 2f 2f 20 61 6e 64 20 |location|.// and |
|00003f20| 6f 6e 6c 79 20 75 73 65 | 73 20 74 68 65 20 77 6f |only use|s the wo|
|00003f30| 72 64 20 50 65 72 6d 20 | 77 69 74 68 20 54 6f 6f |rd Perm |with Too|
|00003f40| 6c 62 6f 78 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 |lbox Mem|ory Mana|
|00003f50| 67 65 72 20 77 72 61 70 | 70 65 72 73 2e 0d 0d 63 |ger wrap|pers...c|
|00003f60| 6c 61 73 73 20 45 58 50 | 4f 52 54 5f 4d 41 20 43 |lass EXP|ORT_MA C|
|00003f70| 54 65 6d 70 41 6c 6c 6f | 63 61 74 65 4f 62 6a 65 |TempAllo|cateObje|
|00003f80| 63 74 73 46 72 6f 6d 50 | 65 72 6d 20 3a 20 43 54 |ctsFromP|erm : CT|
|00003f90| 65 6d 70 4f 62 6a 65 63 | 74 41 6c 6c 6f 63 61 74 |empObjec|tAllocat|
|00003fa0| 69 6f 6e 0d 7b 0d 70 75 | 62 6c 69 63 3a 0d 09 69 |ion.{.pu|blic:..i|
|00003fb0| 6e 6c 69 6e 65 20 43 54 | 65 6d 70 41 6c 6c 6f 63 |nline CT|empAlloc|
|00003fc0| 61 74 65 4f 62 6a 65 63 | 74 73 46 72 6f 6d 50 65 |ateObjec|tsFromPe|
|00003fd0| 72 6d 28 62 6f 6f 6c 20 | 70 65 72 6d 29 20 3a 20 |rm(bool |perm) : |
|00003fe0| 43 54 65 6d 70 4f 62 6a | 65 63 74 41 6c 6c 6f 63 |CTempObj|ectAlloc|
|00003ff0| 61 74 69 6f 6e 28 21 70 | 65 72 6d 29 20 7b 20 7d |ation(!p|erm) { }|
|00004000| 0d 7d 3b 0d 0d 2f 2f 20 | 46 72 65 65 69 6e 67 20 |.};..// |Freeing |
|00004010| 61 6e 20 6f 62 6a 65 63 | 74 2c 20 61 20 6c 69 73 |an objec|t, a lis|
|00004020| 74 2c 20 61 6e 64 20 61 | 20 6c 69 73 74 27 73 20 |t, and a| list's |
|00004030| 63 6f 6e 74 65 6e 74 73 | 0d 0d 23 64 65 66 69 6e |contents|..#defin|
|00004040| 65 20 46 72 65 65 49 66 | 4f 62 6a 65 63 74 28 6f |e FreeIf|Object(o|
|00004050| 62 6a 29 20 28 64 65 6c | 65 74 65 20 6f 62 6a 2c |bj) (del|ete obj,|
|00004060| 20 4e 55 4c 4c 29 0d 23 | 64 65 66 69 6e 65 20 46 | NULL).#|define F|
|00004070| 72 65 65 4c 69 73 74 49 | 66 4f 62 6a 65 63 74 28 |reeListI|fObject(|
|00004080| 6f 62 6a 29 20 28 64 65 | 6c 65 74 65 20 6f 62 6a |obj) (de|lete obj|
|00004090| 2c 20 4e 55 4c 4c 29 0d | 0d 2f 2f 20 77 6f 75 6c |, NULL).|.// woul|
|000040a0| 64 20 62 65 20 28 6c 69 | 73 74 2d 3e 46 72 65 65 |d be (li|st->Free|
|000040b0| 41 6c 6c 28 29 29 0d 0d | 23 64 65 66 69 6e 65 20 |All())..|#define |
|000040c0| 46 52 45 45 41 4c 4c 28 | 6c 69 73 74 52 65 66 2c |FREEALL(|listRef,|
|000040d0| 20 62 61 73 65 43 6c 61 | 73 73 29 20 46 72 65 65 | baseCla|ss) Free|
|000040e0| 41 6c 6c 28 6c 69 73 74 | 52 65 66 2c 20 73 74 61 |All(list|Ref, sta|
|000040f0| 74 69 63 5f 63 61 73 74 | 3c 62 61 73 65 43 6c 61 |tic_cast|<baseCla|
|00004100| 73 73 2a 3e 20 28 4e 55 | 4c 4c 29 20 29 0d 0d 74 |ss*> (NU|LL) )..t|
|00004110| 65 6d 70 6c 61 74 65 20 | 3c 63 6c 61 73 73 20 4c |emplate |<class L|
|00004120| 49 53 54 2c 20 63 6c 61 | 73 73 20 42 41 53 45 5f |IST, cla|ss BASE_|
|00004130| 43 4c 41 53 53 3e 0d 76 | 6f 69 64 20 46 72 65 65 |CLASS>.v|oid Free|
|00004140| 41 6c 6c 28 4c 49 53 54 | 26 20 69 6e 4c 69 73 74 |All(LIST|& inList|
|00004150| 2c 20 42 41 53 45 5f 43 | 4c 41 53 53 2a 20 2f 2a |, BASE_C|LASS* /*|
|00004160| 69 67 6e 6f 72 65 50 61 | 72 61 6d 2a 2f 29 0d 7b |ignorePa|ram*/).{|
|00004170| 0d 09 54 65 6d 70 6c 61 | 74 65 41 72 72 61 79 49 |..Templa|teArrayI|
|00004180| 74 65 72 61 74 6f 72 5f | 41 43 3c 42 41 53 45 5f |terator_|AC<BASE_|
|00004190| 43 4c 41 53 53 3e 20 69 | 74 65 72 28 69 6e 4c 69 |CLASS> i|ter(inLi|
|000041a0| 73 74 29 3b 0d 09 66 6f | 72 20 28 69 74 65 72 2e |st);..fo|r (iter.|
|000041b0| 46 69 72 73 74 28 29 3b | 20 69 74 65 72 3b 20 2b |First();| iter; +|
|000041c0| 2b 69 74 65 72 29 0d 09 | 09 64 65 6c 65 74 65 20 |+iter)..|.delete |
|000041d0| 2a 69 74 65 72 3b 0d 09 | 69 6e 4c 69 73 74 2d 3e |*iter;..|inList->|
|000041e0| 44 65 6c 65 74 65 41 6c | 6c 28 29 3b 0d 7d 0d 0d |DeleteAl|l();.}..|
|000041f0| 23 64 65 66 69 6e 65 20 | 43 6f 6e 73 74 43 53 74 |#define |ConstCSt|
|00004200| 72 32 35 35 50 61 72 61 | 6d 20 63 6f 6e 73 74 20 |r255Para|m const |
|00004210| 43 53 74 72 32 35 35 5f | 41 43 26 0d 0d 2f 2f 20 |CStr255_|AC&..// |
|00004220| 41 72 72 61 79 20 69 74 | 65 72 61 74 6f 72 20 66 |Array it|erator f|
|00004230| 75 6e 63 74 69 6f 6e 73 | 0d 0d 23 64 65 66 69 6e |unctions|..#defin|
|00004240| 65 20 41 64 76 61 6e 63 | 65 09 09 4e 65 78 74 0d |e Advanc|e..Next.|
|00004250| 0d 2f 2f 20 43 6f 6d 70 | 61 74 69 62 6c 65 20 54 |.// Comp|atible T|
|00004260| 4f 62 6a 65 63 74 20 62 | 61 73 65 20 63 6c 61 73 |Object b|ase clas|
|00004270| 73 2e 20 20 0d 2f 2f 20 | 4e 6f 74 65 3a 20 79 6f |s. .// |Note: yo|
|00004280| 75 20 63 61 6e 27 74 20 | 63 61 73 74 20 61 6e 20 |u can't |cast an |
|00004290| 4d 53 74 72 65 61 6d 61 | 62 6c 65 5f 41 43 20 28 |MStreama|ble_AC (|
|000042a0| 73 75 63 68 20 61 73 20 | 61 20 54 56 69 65 77 20 |such as |a TView |
|000042b0| 64 65 73 63 65 6e 64 61 | 6e 74 29 20 69 6e 74 6f |descenda|nt) into|
|000042c0| 20 61 20 54 4f 62 6a 65 | 63 74 2e 0d 0d 63 6c 61 | a TObje|ct...cla|
|000042d0| 73 73 20 54 4f 62 6a 65 | 63 74 20 3a 20 70 75 62 |ss TObje|ct : pub|
|000042e0| 6c 69 63 20 4d 53 74 72 | 65 61 6d 61 62 6c 65 5f |lic MStr|eamable_|
|000042f0| 41 43 2c 20 70 75 62 6c | 69 63 20 4d 44 65 70 65 |AC, publ|ic MDepe|
|00004300| 6e 64 61 62 6c 65 5f 41 | 43 0d 7b 0d 70 75 62 6c |ndable_A|C.{.publ|
|00004310| 69 63 3a 0d 09 4d 41 5f | 44 45 43 4c 41 52 45 5f |ic:..MA_|DECLARE_|
|00004320| 43 4c 41 53 53 3b 0d 09 | 54 4f 62 6a 65 63 74 28 |CLASS;..|TObject(|
|00004330| 29 20 7b 7d 0d 09 76 69 | 72 74 75 61 6c 20 7e 54 |) {}..vi|rtual ~T|
|00004340| 4f 62 6a 65 63 74 28 29 | 20 7b 7d 0d 09 76 69 72 |Object()| {}..vir|
|00004350| 74 75 61 6c 20 76 6f 69 | 64 20 49 6e 69 74 69 61 |tual voi|d Initia|
|00004360| 6c 69 7a 65 28 29 20 7b | 7d 0d 09 76 69 72 74 75 |lize() {|}..virtu|
|00004370| 61 6c 20 76 6f 69 64 20 | 46 72 65 65 28 29 20 7b |al void |Free() {|
|00004380| 20 64 65 6c 65 74 65 20 | 74 68 69 73 3b 20 7d 0d | delete |this; }.|
|00004390| 7d 3b 0d 0d 2f 2f 20 44 | 65 70 72 61 63 61 74 65 |};..// D|epracate|
|000043a0| 64 20 46 61 69 6c 49 6e | 66 6f 3a 20 64 6f 65 73 |d FailIn|fo: does|
|000043b0| 20 6e 6f 74 20 66 75 6e | 63 74 69 6f 6e 2c 20 6d | not fun|ction, m|
|000043c0| 65 72 65 6c 79 20 61 6c | 6c 6f 77 73 20 65 6d 62 |erely al|lows emb|
|000043d0| 65 64 64 65 64 20 46 61 | 69 6c 49 6e 66 6f 73 20 |edded Fa|ilInfos |
|000043e0| 74 6f 20 73 74 69 6c 6c | 20 63 6f 6d 70 69 6c 65 |to still| compile|
|000043f0| 20 26 20 72 75 6e 2e 0d | 2f 2f 20 4e 6f 74 65 3a | & run..|// Note:|
|00004400| 20 62 65 63 61 75 73 65 | 20 6f 66 20 6e 61 74 69 | because| of nati|
|00004410| 76 65 20 43 2b 2b 20 65 | 78 63 65 70 74 69 6f 6e |ve C++ e|xception|
|00004420| 73 2c 20 46 61 69 6c 49 | 6e 66 6f 20 69 73 20 6e |s, FailI|nfo is n|
|00004430| 6f 74 20 6e 65 65 64 65 | 64 2e 0d 0d 74 79 70 65 |ot neede|d...type|
|00004440| 64 65 66 20 76 6f 69 64 | 20 28 2a 46 61 69 6c 75 |def void| (*Failu|
|00004450| 72 65 43 6c 65 61 6e 75 | 70 50 72 6f 63 29 28 76 |reCleanu|pProc)(v|
|00004460| 6f 69 64 2a 20 63 6f 6e | 74 65 78 74 29 3b 0d 0d |oid* con|text);..|
|00004470| 63 6c 61 73 73 20 46 61 | 69 6c 49 6e 66 6f 20 0d |class Fa|ilInfo .|
|00004480| 7b 0d 70 75 62 6c 69 63 | 3a 0d 09 76 6f 69 64 20 |{.public|:..void |
|00004490| 52 65 73 65 74 28 29 20 | 7b 7d 0d 09 76 6f 69 64 |Reset() |{}..void|
|000044a0| 20 53 65 74 43 6c 65 61 | 6e 75 70 50 72 6f 63 28 | SetClea|nupProc(|
|000044b0| 46 61 69 6c 75 72 65 43 | 6c 65 61 6e 75 70 50 72 |FailureC|leanupPr|
|000044c0| 6f 63 20 2f 2a 69 67 6e | 6f 72 65 2a 2f 2c 20 76 |oc /*ign|ore*/, v|
|000044d0| 6f 69 64 2a 20 2f 2a 69 | 67 6e 6f 72 65 2a 2f 29 |oid* /*i|gnore*/)|
|000044e0| 20 7b 7d 0d 09 76 6f 69 | 64 20 53 75 63 65 73 73 | {}..voi|d Sucess|
|000044f0| 28 29 20 7b 7d 0d 0d 7d | 3b 0d 69 6e 6c 69 6e 65 |() {}..}|;.inline|
|00004500| 20 76 6f 69 64 20 53 75 | 63 63 65 73 73 28 46 61 | void Su|ccess(Fa|
|00004510| 69 6c 49 6e 66 6f 26 20 | 2f 2a 66 69 2a 2f 29 20 |ilInfo& |/*fi*/) |
|00004520| 7b 7d 0d 0d 2f 2f 20 54 | 72 61 6e 73 69 74 69 6f |{}..// T|ransitio|
|00004530| 6e 61 6c 20 6d 61 63 72 | 6f 73 3a 20 6e 61 74 69 |nal macr|os: nati|
|00004540| 76 65 20 43 2b 2b 20 76 | 65 72 73 69 6f 6e 73 2e |ve C++ v|ersions.|
|00004550| 0d 2f 2f 20 56 65 72 73 | 69 6f 6e 73 20 66 6f 72 |.// Vers|ions for|
|00004560| 20 4d 61 63 41 70 70 20 | 70 72 69 6f 72 20 74 6f | MacApp |prior to|
|00004570| 20 52 31 33 20 61 72 65 | 20 70 72 6f 76 69 64 65 | R13 are| provide|
|00004580| 64 20 69 6e 20 63 6f 6d | 6d 65 6e 74 73 2e 0d 0d |d in com|ments...|
|00004590| 23 64 65 66 69 6e 65 20 | 54 52 59 20 09 09 74 72 |#define |TRY ..tr|
|000045a0| 79 09 09 09 09 09 09 09 | 2f 2f 20 77 6f 75 6c 64 |y.......|// would|
|000045b0| 20 62 65 20 27 54 72 79 | 28 66 69 29 27 0d 23 64 | be 'Try|(fi)'.#d|
|000045c0| 65 66 69 6e 65 20 43 41 | 54 43 48 5f 41 4c 4c 20 |efine CA|TCH_ALL |
|000045d0| 09 63 61 74 63 68 28 43 | 45 78 63 65 70 74 69 6f |.catch(C|Exceptio|
|000045e0| 6e 5f 41 43 26 20 66 69 | 29 09 2f 2f 20 77 6f 75 |n_AC& fi|).// wou|
|000045f0| 6c 64 20 62 65 20 27 65 | 6c 73 65 27 0d 23 64 65 |ld be 'e|lse'.#de|
|00004600| 66 69 6e 65 20 45 4e 44 | 54 52 59 09 09 09 09 09 |fine END|TRY.....|
|00004610| 09 09 09 09 2f 2f 20 77 | 6f 75 6c 64 20 62 65 20 |....// w|ould be |
|00004620| 27 66 69 2e 53 75 63 63 | 65 73 73 28 29 3b 27 0d |'fi.Succ|ess();'.|
|00004630| 23 64 65 66 69 6e 65 20 | 54 48 52 4f 57 20 09 09 |#define |THROW ..|
|00004640| 74 68 72 6f 77 20 09 09 | 09 09 09 09 2f 2f 20 77 |throw ..|....// w|
|00004650| 6f 75 6c 64 20 62 65 20 | 27 66 69 2e 52 65 53 69 |ould be |'fi.ReSi|
|00004660| 67 6e 61 6c 28 29 27 0d | 0d 23 64 65 66 69 6e 65 |gnal()'.|.#define|
|00004670| 20 43 4f 4e 53 54 09 09 | 63 6f 6e 73 74 20 09 09 | CONST..|const ..|
|00004680| 09 09 09 09 2f 2f 20 77 | 6f 75 6c 64 20 62 65 20 |....// w|ould be |
|00004690| 65 6d 70 74 79 20 28 66 | 6f 72 20 66 75 6e 63 74 |empty (f|or funct|
|000046a0| 69 6f 6e 73 20 74 68 61 | 74 20 62 65 63 61 6d 65 |ions tha|t became|
|000046b0| 20 63 6f 6e 73 74 29 0d | 0d 23 64 65 66 69 6e 65 | const).|.#define|
|000046c0| 20 4d 41 5f 44 59 4e 41 | 4d 49 43 5f 43 41 53 54 | MA_DYNA|MIC_CAST|
|000046d0| 28 63 61 73 74 54 79 70 | 65 2c 20 63 61 73 74 49 |(castTyp|e, castI|
|000046e0| 6e 73 74 61 6e 63 65 29 | 20 64 79 6e 61 6d 69 63 |nstance)| dynamic|
|000046f0| 5f 63 61 73 74 5f 41 43 | 28 63 61 73 74 54 79 70 |_cast_AC|(castTyp|
|00004700| 65 2a 2c 20 63 61 73 74 | 49 6e 73 74 61 6e 63 65 |e*, cast|Instance|
|00004710| 29 0d 0d 23 64 65 66 69 | 6e 65 20 47 52 49 44 56 |)..#defi|ne GRIDV|
|00004720| 49 45 57 44 45 53 49 47 | 4e 41 54 4f 52 50 54 52 |IEWDESIG|NATORPTR|
|00004730| 20 54 47 72 69 64 56 69 | 65 77 44 65 73 69 67 6e | TGridVi|ewDesign|
|00004740| 61 74 6f 72 2a 0d 0d 69 | 6e 6c 69 6e 65 20 47 72 |ator*..i|nline Gr|
|00004750| 69 64 52 65 63 74 20 47 | 52 49 44 56 49 45 57 44 |idRect G|RIDVIEWD|
|00004760| 45 53 49 47 4e 41 54 4f | 52 5f 47 45 54 42 4f 55 |ESIGNATO|R_GETBOU|
|00004770| 4e 44 53 28 63 6f 6e 73 | 74 20 54 47 72 69 64 56 |NDS(cons|t TGridV|
|00004780| 69 65 77 44 65 73 69 67 | 6e 61 74 6f 72 2a 20 64 |iewDesig|nator* d|
|00004790| 65 73 69 67 6e 61 74 6f | 72 29 20 0d 09 7b 20 72 |esignato|r) ..{ r|
|000047a0| 65 74 75 72 6e 20 64 65 | 73 69 67 6e 61 74 6f 72 |eturn de|signator|
|000047b0| 2d 3e 47 65 74 42 6f 75 | 6e 64 73 28 29 3b 20 7d |->GetBou|nds(); }|
|000047c0| 09 09 09 09 2f 2f 20 77 | 6f 75 6c 64 20 62 65 20 |....// w|ould be |
|000047d0| 28 2a 64 65 73 69 67 6e | 61 74 6f 72 29 2d 3e 72 |(*design|ator)->r|
|000047e0| 67 6e 42 42 6f 78 0d 69 | 6e 6c 69 6e 65 20 47 72 |gnBBox.i|nline Gr|
|000047f0| 69 64 52 65 63 74 20 47 | 52 49 44 56 49 45 57 44 |idRect G|RIDVIEWD|
|00004800| 45 53 49 47 4e 41 54 4f | 52 5f 47 45 54 42 4f 55 |ESIGNATO|R_GETBOU|
|00004810| 4e 44 53 28 63 6f 6e 73 | 74 20 54 47 72 69 64 56 |NDS(cons|t TGridV|
|00004820| 69 65 77 44 65 73 69 67 | 6e 61 74 6f 72 26 20 64 |iewDesig|nator& d|
|00004830| 65 73 69 67 6e 61 74 6f | 72 29 20 0d 09 7b 20 72 |esignato|r) ..{ r|
|00004840| 65 74 75 72 6e 20 64 65 | 73 69 67 6e 61 74 6f 72 |eturn de|signator|
|00004850| 2e 47 65 74 42 6f 75 6e | 64 73 28 29 3b 20 7d 09 |.GetBoun|ds(); }.|
|00004860| 09 09 09 2f 2f 20 77 6f | 75 6c 64 20 62 65 20 28 |...// wo|uld be (|
|00004870| 2a 64 65 73 69 67 6e 61 | 74 6f 72 29 2d 3e 72 67 |*designa|tor)->rg|
|00004880| 6e 42 42 6f 78 0d 69 6e | 6c 69 6e 65 20 76 6f 69 |nBBox.in|line voi|
|00004890| 64 20 47 52 49 44 56 49 | 45 57 44 45 53 49 47 4e |d GRIDVI|EWDESIGN|
|000048a0| 41 54 4f 52 5f 53 45 54 | 45 4d 50 54 59 28 54 47 |ATOR_SET|EMPTY(TG|
|000048b0| 72 69 64 56 69 65 77 44 | 65 73 69 67 6e 61 74 6f |ridViewD|esignato|
|000048c0| 72 2a 20 64 65 73 69 67 | 6e 61 74 6f 72 29 0d 09 |r* desig|nator)..|
|000048d0| 7b 20 64 65 73 69 67 6e | 61 74 6f 72 2d 3e 53 65 |{ design|ator->Se|
|000048e0| 74 28 29 3b 20 7d 09 09 | 09 09 09 09 2f 2f 20 77 |t(); }..|....// w|
|000048f0| 6f 75 6c 64 20 62 65 20 | 3a 3a 53 65 74 45 6d 70 |ould be |::SetEmp|
|00004900| 74 79 52 67 6e 28 64 65 | 73 69 67 6e 61 74 6f 72 |tyRgn(de|signator|
|00004910| 29 0d 69 6e 6c 69 6e 65 | 20 62 6f 6f 6c 20 47 52 |).inline| bool GR|
|00004920| 49 44 56 49 45 57 44 45 | 53 49 47 4e 41 54 4f 52 |IDVIEWDE|SIGNATOR|
|00004930| 5f 49 53 45 4d 50 54 59 | 28 63 6f 6e 73 74 20 54 |_ISEMPTY|(const T|
|00004940| 47 72 69 64 56 69 65 77 | 44 65 73 69 67 6e 61 74 |GridView|Designat|
|00004950| 6f 72 2a 20 64 65 73 69 | 67 6e 61 74 6f 72 29 0d |or* desi|gnator).|
|00004960| 09 7b 20 72 65 74 75 72 | 6e 20 64 65 73 69 67 6e |.{ retur|n design|
|00004970| 61 74 6f 72 2d 3e 49 73 | 45 6d 70 74 79 28 29 3b |ator->Is|Empty();|
|00004980| 20 7d 09 09 09 09 09 09 | 2f 2f 20 77 6f 75 6c 64 | }......|// would|
|00004990| 20 62 65 20 3a 3a 45 6d | 70 74 79 52 67 6e 28 64 | be ::Em|ptyRgn(d|
|000049a0| 65 73 69 67 6e 61 74 6f | 72 29 0d 69 6e 6c 69 6e |esignato|r).inlin|
|000049b0| 65 20 76 6f 69 64 20 47 | 52 49 44 56 49 45 57 44 |e void G|RIDVIEWD|
|000049c0| 45 53 49 47 4e 41 54 4f | 52 5f 53 45 54 28 54 47 |ESIGNATO|R_SET(TG|
|000049d0| 72 69 64 56 69 65 77 44 | 65 73 69 67 6e 61 74 6f |ridViewD|esignato|
|000049e0| 72 2a 20 73 72 63 64 65 | 73 69 67 6e 61 74 6f 72 |r* srcde|signator|
|000049f0| 2c 20 54 47 72 69 64 56 | 69 65 77 44 65 73 69 67 |, TGridV|iewDesig|
|00004a00| 6e 61 74 6f 72 26 20 74 | 61 72 67 64 65 73 69 67 |nator& t|argdesig|
|00004a10| 6e 61 74 6f 72 29 20 2f | 2f 20 77 6f 75 6c 64 20 |nator) /|/ would |
|00004a20| 62 65 20 3a 3a 43 6f 70 | 79 52 67 6e 28 73 72 63 |be ::Cop|yRgn(src|
|00004a30| 64 65 73 69 67 6e 61 74 | 6f 72 2c 20 74 61 72 67 |designat|or, targ|
|00004a40| 64 65 73 69 67 6e 61 74 | 6f 72 29 0d 09 7b 20 74 |designat|or)..{ t|
|00004a50| 61 72 67 64 65 73 69 67 | 6e 61 74 6f 72 2e 53 65 |argdesig|nator.Se|
|00004a60| 74 28 73 72 63 64 65 73 | 69 67 6e 61 74 6f 72 29 |t(srcdes|ignator)|
|00004a70| 3b 20 7d 0d 09 0d 23 64 | 65 66 69 6e 65 20 50 41 |; }...#d|efine PA|
|00004a80| 47 45 5f 49 4e 54 45 52 | 49 4f 52 28 29 20 28 47 |GE_INTER|IOR() (G|
|00004a90| 65 74 49 6e 74 65 72 69 | 6f 72 52 65 63 74 28 29 |etInteri|orRect()|
|00004aa0| 29 09 2f 2f 20 77 6f 75 | 6c 64 20 62 65 20 66 50 |).// wou|ld be fP|
|00004ab0| 61 67 65 41 72 65 61 73 | 2e 69 6e 74 65 72 69 6f |ageAreas|.interio|
|00004ac0| 72 0d 0d 23 64 65 66 69 | 6e 65 20 43 4f 4d 50 41 |r..#defi|ne COMPA|
|00004ad0| 52 45 4f 42 4a 09 76 6f | 69 64 0d 23 64 65 66 69 |REOBJ.vo|id.#defi|
|00004ae0| 6e 65 20 41 50 50 4c 45 | 45 56 45 4e 54 50 54 52 |ne APPLE|EVENTPTR|
|00004af0| 20 54 41 70 70 6c 65 45 | 76 65 6e 74 2a 0d 0d 23 | TAppleE|vent*..#|
|00004b00| 65 6c 73 65 0d 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |else.//=|========|
|00004b10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004b20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004b30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004b40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004b50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|00004b60| 2f 2f 20 4d 61 63 41 70 | 70 20 33 2e 31 2f 33 2e |// MacAp|p 3.1/3.|
|00004b70| 33 20 63 6f 6d 70 61 74 | 69 62 6c 65 20 64 65 66 |3 compat|ible def|
|00004b80| 69 6e 69 74 69 6f 6e 73 | 20 61 6e 64 20 74 79 70 |initions| and typ|
|00004b90| 65 73 0d 2f 2f 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |es.//===|========|
|00004ba0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004bb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004bc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004bd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004be0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0d 0d 2f |========|=====../|
|00004bf0| 2f 20 54 68 69 73 20 64 | 65 66 69 6e 65 73 20 74 |/ This d|efines t|
|00004c00| 68 65 20 6b 65 79 77 6f | 72 64 20 62 6f 6f 6c 20 |he keywo|rd bool |
|00004c10| 69 6e 20 61 20 6d 61 6e | 6e 65 72 20 63 6f 6d 70 |in a man|ner comp|
|00004c20| 61 74 69 62 6c 65 20 77 | 69 74 68 20 42 6f 6f 6c |atible w|ith Bool|
|00004c30| 65 61 6e 2c 0d 2f 2f 20 | 77 68 69 63 68 20 72 65 |ean,.// |which re|
|00004c40| 71 75 69 72 65 73 20 74 | 68 61 74 20 74 68 65 20 |quires t|hat the |
|00004c50| 63 6f 6d 70 69 6c 65 72 | 20 62 6f 6f 6c 20 73 75 |compiler| bool su|
|00004c60| 70 70 6f 72 74 20 62 65 | 20 74 75 72 6e 65 64 20 |pport be| turned |
|00004c70| 6f 66 66 2e 0d 2f 2f 20 | 49 66 20 79 6f 75 20 64 |off..// |If you d|
|00004c80| 6f 20 6e 6f 74 20 77 69 | 73 68 20 74 6f 20 68 61 |o not wi|sh to ha|
|00004c90| 76 65 20 74 68 69 73 20 | 63 6f 6d 70 61 74 69 62 |ve this |compatib|
|00004ca0| 69 6c 69 74 79 20 61 6e | 64 20 70 72 65 66 65 72 |ility an|d prefer|
|00004cb0| 20 63 6f 6d 70 69 6c 65 | 72 20 62 6f 6f 6c 20 73 | compile|r bool s|
|00004cc0| 75 70 70 6f 72 74 2c 20 | 0d 2f 2f 20 73 65 74 20 |upport, |.// set |
|00004cd0| 71 57 61 6e 74 73 42 6f | 6f 6c 20 74 6f 20 31 2e |qWantsBo|ol to 1.|
|00004ce0| 0d 0d 23 69 66 6e 64 65 | 66 20 71 57 61 6e 74 73 |..#ifnde|f qWants|
|00004cf0| 42 6f 6f 6c 0d 23 64 65 | 66 69 6e 65 20 71 57 61 |Bool.#de|fine qWa|
|00004d00| 6e 74 73 42 6f 6f 6c 20 | 30 0d 23 65 6e 64 69 66 |ntsBool |0.#endif|
|00004d10| 0d 0d 23 69 66 20 21 71 | 57 61 6e 74 73 42 6f 6f |..#if !q|WantsBoo|
|00004d20| 6c 0d 23 09 69 66 20 5f | 5f 6f 70 74 69 6f 6e 28 |l.#.if _|_option(|
|00004d30| 62 6f 6f 6c 29 20 7c 7c | 20 64 65 66 69 6e 65 64 |bool) ||| defined|
|00004d40| 28 62 6f 6f 6c 29 0d 23 | 09 09 65 72 72 6f 72 20 |(bool).#|..error |
|00004d50| 22 62 6f 6f 6c 20 73 75 | 70 70 6f 72 74 20 6d 75 |"bool su|pport mu|
|00004d60| 73 74 20 62 65 20 74 75 | 72 6e 65 64 20 6f 66 66 |st be tu|rned off|
|00004d70| 20 61 6e 64 20 62 6f 6f | 6c 20 75 6e 64 65 66 69 | and boo|l undefi|
|00004d80| 6e 65 64 20 74 6f 20 65 | 6e 61 62 6c 65 20 63 6f |ned to e|nable co|
|00004d90| 6d 70 61 74 69 62 69 6c | 69 74 79 20 77 69 74 68 |mpatibil|ity with|
|00004da0| 20 42 6f 6f 6c 65 61 6e | 22 0d 23 09 65 6c 73 65 | Boolean|".#.else|
|00004db0| 0d 2f 2f 20 57 65 20 64 | 65 66 69 6e 65 20 62 6f |.// We d|efine bo|
|00004dc0| 6f 6c 20 61 73 20 42 6f | 6f 6c 65 61 6e 0d 23 09 |ol as Bo|olean.#.|
|00004dd0| 09 75 6e 64 65 66 20 62 | 6f 6f 6c 0d 23 09 09 64 |.undef b|ool.#..d|
|00004de0| 65 66 69 6e 65 20 62 6f | 6f 6c 20 42 6f 6f 6c 65 |efine bo|ol Boole|
|00004df0| 61 6e 0d 23 09 65 6e 64 | 69 66 0d 23 65 6e 64 69 |an.#.end|if.#endi|
|00004e00| 66 0d 0d 2f 2f 20 54 65 | 72 6d 73 20 62 61 63 6b |f..// Te|rms back|
|00004e10| 2d 70 6f 72 74 65 64 20 | 66 72 6f 6d 20 52 31 33 |-ported |from R13|
|00004e20| 20 66 6f 72 20 75 73 65 | 20 68 65 72 65 0d 23 69 | for use| here.#i|
|00004e30| 66 6e 64 65 66 20 54 48 | 5f 6e 65 77 0d 23 64 65 |fndef TH|_new.#de|
|00004e40| 66 69 6e 65 20 54 48 5f | 6e 65 77 20 6e 65 77 0d |fine TH_|new new.|
|00004e50| 23 65 6e 64 69 66 0d 0d | 2f 2f 20 47 72 69 64 56 |#endif..|// GridV|
|00004e60| 69 65 77 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 61 |iew coor|dinate a|
|00004e70| 62 73 74 72 61 63 74 69 | 6f 6e 73 20 61 64 64 65 |bstracti|ons adde|
|00004e80| 64 20 74 6f 20 52 31 32 | 20 69 6e 20 61 6e 74 69 |d to R12| in anti|
|00004e90| 63 69 70 61 74 69 6f 6e | 20 66 6f 72 20 6e 65 77 |cipation| for new|
|00004ea0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 69 6e 20 | definit|ions in |
|00004eb0| 52 31 33 0d 0d 74 79 70 | 65 64 65 66 20 43 50 6f |R13..typ|edef CPo|
|00004ec0| 69 6e 74 20 47 72 69 64 | 43 65 6c 6c 3b 0d 74 79 |int Grid|Cell;.ty|
|00004ed0| 70 65 64 65 66 20 43 52 | 65 63 74 20 47 72 69 64 |pedef CR|ect Grid|
|00004ee0| 52 65 63 74 3b 0d 74 79 | 70 65 64 65 66 20 73 68 |Rect;.ty|pedef sh|
|00004ef0| 6f 72 74 20 47 72 69 64 | 43 6f 6f 72 64 69 6e 61 |ort Grid|Coordina|
|00004f00| 74 65 3b 0d 0d 2f 2f 20 | 74 72 61 6e 73 69 74 69 |te;..// |transiti|
|00004f10| 6f 6e 20 6d 61 63 72 6f | 73 0d 0d 23 64 65 66 69 |on macro|s..#defi|
|00004f20| 6e 65 20 46 52 45 45 41 | 4c 4c 28 6c 69 73 74 52 |ne FREEA|LL(listR|
|00004f30| 65 66 2c 20 62 61 73 65 | 43 6c 61 73 73 29 20 6c |ef, base|Class) l|
|00004f40| 69 73 74 52 65 66 2d 3e | 46 72 65 65 41 6c 6c 28 |istRef->|FreeAll(|
|00004f50| 29 0d 0d 2f 2f 20 4e 4f | 54 45 3a 20 74 68 65 73 |)..// NO|TE: thes|
|00004f60| 65 20 76 61 72 79 20 66 | 72 6f 6d 20 52 31 32 27 |e vary f|rom R12'|
|00004f70| 73 20 76 65 72 73 69 6f | 6e 20 69 6e 20 74 68 61 |s versio|n in tha|
|00004f80| 74 20 54 52 59 20 61 6e | 64 20 45 4e 44 54 52 59 |t TRY an|d ENDTRY|
|00004f90| 20 61 72 65 20 6e 6f 74 | 20 73 63 6f 70 65 64 20 | are not| scoped |
|00004fa0| 77 69 74 68 20 7b 20 61 | 6e 64 20 7d 2e 0d 2f 2f |with { a|nd }..//|
|00004fb0| 20 54 68 69 73 20 69 73 | 20 62 65 63 61 75 73 65 | This is| because|
|00004fc0| 20 69 6e 20 4d 61 63 41 | 70 70 20 33 2e 31 20 61 | in MacA|pp 3.1 a|
|00004fd0| 6e 64 20 33 2e 33 20 69 | 74 20 69 73 20 63 6f 6d |nd 3.3 i|t is com|
|00004fe0| 6d 6f 6e 20 74 6f 20 63 | 61 6c 6c 20 45 4e 44 54 |mon to c|all ENDT|
|00004ff0| 52 59 20 69 6e 73 69 64 | 65 20 74 68 65 20 54 52 |RY insid|e the TR|
|00005000| 59 20 62 6c 6f 63 6b 2e | 0d 2f 2f 20 54 68 65 20 |Y block.|.// The |
|00005010| 77 6f 72 6b 61 72 6f 75 | 6e 64 20 69 73 20 74 6f |workarou|nd is to|
|00005020| 20 61 64 64 20 7b 20 61 | 6e 64 20 7d 20 6d 61 6e | add { a|nd } man|
|00005030| 75 61 6c 6c 79 20 69 6e | 20 79 6f 75 72 20 63 6f |ually in| your co|
|00005040| 64 65 20 77 68 65 72 65 | 20 79 6f 75 20 68 61 76 |de where| you hav|
|00005050| 65 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 65 0d |e more t|han one.|
|00005060| 2f 2f 20 54 72 79 20 62 | 6c 6f 63 6b 20 61 74 20 |// Try b|lock at |
|00005070| 74 68 65 20 73 61 6d 65 | 20 6c 65 76 65 6c 20 6f |the same| level o|
|00005080| 66 20 73 63 6f 70 65 2e | 0d 0d 23 69 66 20 64 65 |f scope.|..#if de|
|00005090| 66 69 6e 65 64 28 4d 41 | 43 41 50 50 5f 33 5f 31 |fined(MA|CAPP_3_1|
|000050a0| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 4d 41 43 |) || def|ined(MAC|
|000050b0| 41 50 50 5f 33 5f 33 29 | 0d 23 64 65 66 69 6e 65 |APP_3_3)|.#define|
|000050c0| 20 54 52 59 20 09 09 46 | 61 69 6c 49 6e 66 6f 20 | TRY ..F|ailInfo |
|000050d0| 66 69 3b 20 54 72 79 28 | 66 69 29 0d 23 64 65 66 |fi; Try(|fi).#def|
|000050e0| 69 6e 65 20 43 41 54 43 | 48 5f 41 4c 4c 20 09 65 |ine CATC|H_ALL .e|
|000050f0| 6c 73 65 0d 23 64 65 66 | 69 6e 65 20 45 4e 44 54 |lse.#def|ine ENDT|
|00005100| 52 59 09 09 66 69 2e 53 | 75 63 63 65 73 73 28 29 |RY..fi.S|uccess()|
|00005110| 3b 0d 23 64 65 66 69 6e | 65 20 54 48 52 4f 57 20 |;.#defin|e THROW |
|00005120| 09 09 66 69 2e 52 65 53 | 69 67 6e 61 6c 28 29 0d |..fi.ReS|ignal().|
|00005130| 23 65 6e 64 69 66 0d 0d | 0d 23 64 65 66 69 6e 65 |#endif..|.#define|
|00005140| 20 43 4f 4e 53 54 09 09 | 0d 0d 2f 2f 20 22 49 6d | CONST..|..// "Im|
|00005150| 61 67 69 6e 67 53 74 72 | 65 61 6d 69 6e 67 22 20 |agingStr|eaming" |
|00005160| 66 6f 72 77 61 72 64 2d | 63 6f 6d 70 61 74 69 62 |forward-|compatib|
|00005170| 6c 65 20 64 65 66 69 6e | 69 74 69 6f 6e 73 0d 0d |le defin|itions..|
|00005180| 69 6e 6c 69 6e 65 20 54 | 53 74 72 65 61 6d 26 20 |inline T|Stream& |
|00005190| 6f 70 65 72 61 74 6f 72 | 20 3c 3c 20 28 54 53 74 |operator| << (TSt|
|000051a0| 72 65 61 6d 26 20 69 6e | 53 74 72 65 61 6d 2c 20 |ream& in|Stream, |
|000051b0| 63 6f 6e 73 74 20 43 50 | 6f 69 6e 74 26 20 69 6e |const CP|oint& in|
|000051c0| 44 61 74 61 29 0d 7b 0d | 09 69 6e 53 74 72 65 61 |Data).{.|.inStrea|
|000051d0| 6d 2e 57 72 69 74 65 50 | 6f 69 6e 74 28 69 6e 44 |m.WriteP|oint(inD|
|000051e0| 61 74 61 29 3b 0d 09 72 | 65 74 75 72 6e 20 69 6e |ata);..r|eturn in|
|000051f0| 53 74 72 65 61 6d 3b 0d | 7d 0d 69 6e 6c 69 6e 65 |Stream;.|}.inline|
|00005200| 20 54 53 74 72 65 61 6d | 26 20 6f 70 65 72 61 74 | TStream|& operat|
|00005210| 6f 72 20 3c 3c 20 28 54 | 53 74 72 65 61 6d 26 20 |or << (T|Stream& |
|00005220| 69 6e 53 74 72 65 61 6d | 2c 20 63 6f 6e 73 74 20 |inStream|, const |
|00005230| 56 50 6f 69 6e 74 26 20 | 69 6e 44 61 74 61 29 0d |VPoint& |inData).|
|00005240| 7b 0d 09 69 6e 53 74 72 | 65 61 6d 2e 57 72 69 74 |{..inStr|eam.Writ|
|00005250| 65 56 50 6f 69 6e 74 28 | 69 6e 44 61 74 61 29 3b |eVPoint(|inData);|
|00005260| 0d 09 72 65 74 75 72 6e | 20 69 6e 53 74 72 65 61 |..return| inStrea|
|00005270| 6d 3b 0d 7d 0d 69 6e 6c | 69 6e 65 20 54 53 74 72 |m;.}.inl|ine TStr|
|00005280| 65 61 6d 26 20 6f 70 65 | 72 61 74 6f 72 20 3c 3c |eam& ope|rator <<|
|00005290| 20 28 54 53 74 72 65 61 | 6d 26 20 69 6e 53 74 72 | (TStrea|m& inStr|
|000052a0| 65 61 6d 2c 20 63 6f 6e | 73 74 20 43 52 65 63 74 |eam, con|st CRect|
|000052b0| 26 20 69 6e 44 61 74 61 | 29 0d 7b 0d 09 69 6e 53 |& inData|).{..inS|
|000052c0| 74 72 65 61 6d 2e 57 72 | 69 74 65 52 65 63 74 28 |tream.Wr|iteRect(|
|000052d0| 69 6e 44 61 74 61 29 3b | 0d 09 72 65 74 75 72 6e |inData);|..return|
|000052e0| 20 69 6e 53 74 72 65 61 | 6d 3b 0d 7d 0d 69 6e 6c | inStrea|m;.}.inl|
|000052f0| 69 6e 65 20 54 53 74 72 | 65 61 6d 26 20 6f 70 65 |ine TStr|eam& ope|
|00005300| 72 61 74 6f 72 20 3c 3c | 20 28 54 53 74 72 65 61 |rator <<| (TStrea|
|00005310| 6d 26 20 69 6e 53 74 72 | 65 61 6d 2c 20 63 6f 6e |m& inStr|eam, con|
|00005320| 73 74 20 56 52 65 63 74 | 26 20 69 6e 44 61 74 61 |st VRect|& inData|
|00005330| 29 0d 7b 0d 09 69 6e 53 | 74 72 65 61 6d 2e 57 72 |).{..inS|tream.Wr|
|00005340| 69 74 65 56 52 65 63 74 | 28 69 6e 44 61 74 61 29 |iteVRect|(inData)|
|00005350| 3b 0d 09 72 65 74 75 72 | 6e 20 69 6e 53 74 72 65 |;..retur|n inStre|
|00005360| 61 6d 3b 0d 7d 0d 69 6e | 6c 69 6e 65 20 54 53 74 |am;.}.in|line TSt|
|00005370| 72 65 61 6d 26 20 6f 70 | 65 72 61 74 6f 72 20 3c |ream& op|erator <|
|00005380| 3c 20 28 54 53 74 72 65 | 61 6d 26 20 69 6e 53 74 |< (TStre|am& inSt|
|00005390| 72 65 61 6d 2c 20 63 6f | 6e 73 74 20 43 52 47 42 |ream, co|nst CRGB|
|000053a0| 43 6f 6c 6f 72 26 20 69 | 6e 44 61 74 61 29 0d 7b |Color& i|nData).{|
|000053b0| 0d 09 69 6e 53 74 72 65 | 61 6d 2e 57 72 69 74 65 |..inStre|am.Write|
|000053c0| 52 47 42 43 6f 6c 6f 72 | 28 69 6e 44 61 74 61 29 |RGBColor|(inData)|
|000053d0| 3b 0d 09 72 65 74 75 72 | 6e 20 69 6e 53 74 72 65 |;..retur|n inStre|
|000053e0| 61 6d 3b 0d 7d 0d 0d 0d | 2f 2f 20 72 65 61 64 65 |am;.}...|// reade|
|000053f0| 72 73 0d 0d 69 6e 6c 69 | 6e 65 20 54 53 74 72 65 |rs..inli|ne TStre|
|00005400| 61 6d 26 20 6f 70 65 72 | 61 74 6f 72 20 3e 3e 20 |am& oper|ator >> |
|00005410| 28 54 53 74 72 65 61 6d | 26 20 69 6e 53 74 72 65 |(TStream|& inStre|
|00005420| 61 6d 2c 20 43 50 6f 69 | 6e 74 26 20 69 6e 44 61 |am, CPoi|nt& inDa|
|00005430| 74 61 29 0d 7b 0d 09 69 | 6e 44 61 74 61 20 3d 20 |ta).{..i|nData = |
|00005440| 69 6e 53 74 72 65 61 6d | 2e 52 65 61 64 50 6f 69 |inStream|.ReadPoi|
|00005450| 6e 74 28 29 3b 0d 09 72 | 65 74 75 72 6e 20 69 6e |nt();..r|eturn in|
|00005460| 53 74 72 65 61 6d 3b 0d | 7d 0d 69 6e 6c 69 6e 65 |Stream;.|}.inline|
|00005470| 20 54 53 74 72 65 61 6d | 26 20 6f 70 65 72 61 74 | TStream|& operat|
|00005480| 6f 72 20 3e 3e 20 28 54 | 53 74 72 65 61 6d 26 20 |or >> (T|Stream& |
|00005490| 69 6e 53 74 72 65 61 6d | 2c 20 56 50 6f 69 6e 74 |inStream|, VPoint|
|000054a0| 26 20 69 6e 44 61 74 61 | 29 0d 7b 0d 09 69 6e 53 |& inData|).{..inS|
|000054b0| 74 72 65 61 6d 2e 52 65 | 61 64 56 50 6f 69 6e 74 |tream.Re|adVPoint|
|000054c0| 28 69 6e 44 61 74 61 29 | 3b 0d 09 72 65 74 75 72 |(inData)|;..retur|
|000054d0| 6e 20 69 6e 53 74 72 65 | 61 6d 3b 0d 7d 0d 69 6e |n inStre|am;.}.in|
|000054e0| 6c 69 6e 65 20 54 53 74 | 72 65 61 6d 26 20 6f 70 |line TSt|ream& op|
|000054f0| 65 72 61 74 6f 72 20 3e | 3e 20 28 54 53 74 72 65 |erator >|> (TStre|
|00005500| 61 6d 26 20 69 6e 53 74 | 72 65 61 6d 2c 20 43 52 |am& inSt|ream, CR|
|00005510| 65 63 74 26 20 69 6e 44 | 61 74 61 29 0d 7b 0d 09 |ect& inD|ata).{..|
|00005520| 69 6e 53 74 72 65 61 6d | 2e 57 72 69 74 65 52 65 |inStream|.WriteRe|
|00005530| 63 74 28 69 6e 44 61 74 | 61 29 3b 3b 0d 09 72 65 |ct(inDat|a);;..re|
|00005540| 74 75 72 6e 20 69 6e 53 | 74 72 65 61 6d 3b 0d 7d |turn inS|tream;.}|
|00005550| 0d 69 6e 6c 69 6e 65 20 | 54 53 74 72 65 61 6d 26 |.inline |TStream&|
|00005560| 20 6f 70 65 72 61 74 6f | 72 20 3e 3e 20 28 54 53 | operato|r >> (TS|
|00005570| 74 72 65 61 6d 26 20 69 | 6e 53 74 72 65 61 6d 2c |tream& i|nStream,|
|00005580| 20 56 52 65 63 74 26 20 | 69 6e 44 61 74 61 29 0d | VRect& |inData).|
|00005590| 7b 0d 09 69 6e 53 74 72 | 65 61 6d 2e 57 72 69 74 |{..inStr|eam.Writ|
|000055a0| 65 56 52 65 63 74 28 69 | 6e 44 61 74 61 29 3b 0d |eVRect(i|nData);.|
|000055b0| 09 72 65 74 75 72 6e 20 | 69 6e 53 74 72 65 61 6d |.return |inStream|
|000055c0| 3b 0d 7d 0d 69 6e 6c 69 | 6e 65 20 54 53 74 72 65 |;.}.inli|ne TStre|
|000055d0| 61 6d 26 20 6f 70 65 72 | 61 74 6f 72 20 3e 3e 20 |am& oper|ator >> |
|000055e0| 28 54 53 74 72 65 61 6d | 26 20 69 6e 53 74 72 65 |(TStream|& inStre|
|000055f0| 61 6d 2c 20 43 52 47 42 | 43 6f 6c 6f 72 26 20 69 |am, CRGB|Color& i|
|00005600| 6e 44 61 74 61 29 0d 7b | 0d 09 69 6e 53 74 72 65 |nData).{|..inStre|
|00005610| 61 6d 2e 57 72 69 74 65 | 52 47 42 43 6f 6c 6f 72 |am.Write|RGBColor|
|00005620| 28 69 6e 44 61 74 61 29 | 3b 0d 09 72 65 74 75 72 |(inData)|;..retur|
|00005630| 6e 20 69 6e 53 74 72 65 | 61 6d 3b 0d 7d 0d 0d 23 |n inStre|am;.}..#|
|00005640| 64 65 66 69 6e 65 20 47 | 52 49 44 56 49 45 57 44 |define G|RIDVIEWD|
|00005650| 45 53 49 47 4e 41 54 4f | 52 50 54 52 20 52 67 6e |ESIGNATO|RPTR Rgn|
|00005660| 48 61 6e 64 6c 65 0d 0d | 69 6e 6c 69 6e 65 20 47 |Handle..|inline G|
|00005670| 72 69 64 52 65 63 74 20 | 47 52 49 44 56 49 45 57 |ridRect |GRIDVIEW|
|00005680| 44 45 53 49 47 4e 41 54 | 4f 52 5f 47 45 54 42 4f |DESIGNAT|OR_GETBO|
|00005690| 55 4e 44 53 28 52 67 6e | 48 61 6e 64 6c 65 20 64 |UNDS(Rgn|Handle d|
|000056a0| 65 73 69 67 6e 61 74 6f | 72 29 20 0d 09 7b 20 72 |esignato|r) ..{ r|
|000056b0| 65 74 75 72 6e 20 28 2a | 64 65 73 69 67 6e 61 74 |eturn (*|designat|
|000056c0| 6f 72 29 2d 3e 72 67 6e | 42 42 6f 78 3b 20 7d 0d |or)->rgn|BBox; }.|
|000056d0| 69 6e 6c 69 6e 65 20 76 | 6f 69 64 20 47 52 49 44 |inline v|oid GRID|
|000056e0| 56 49 45 57 44 45 53 49 | 47 4e 41 54 4f 52 5f 53 |VIEWDESI|GNATOR_S|
|000056f0| 45 54 45 4d 50 54 59 28 | 52 67 6e 48 61 6e 64 6c |ETEMPTY(|RgnHandl|
|00005700| 65 20 64 65 73 69 67 6e | 61 74 6f 72 29 0d 09 7b |e design|ator)..{|
|00005710| 20 3a 3a 53 65 74 45 6d | 70 74 79 52 67 6e 28 64 | ::SetEm|ptyRgn(d|
|00005720| 65 73 69 67 6e 61 74 6f | 72 29 3b 20 7d 0d 69 6e |esignato|r); }.in|
|00005730| 6c 69 6e 65 20 62 6f 6f | 6c 20 47 52 49 44 56 49 |line boo|l GRIDVI|
|00005740| 45 57 44 45 53 49 47 4e | 41 54 4f 52 5f 49 53 45 |EWDESIGN|ATOR_ISE|
|00005750| 4d 50 54 59 28 52 67 6e | 48 61 6e 64 6c 65 20 64 |MPTY(Rgn|Handle d|
|00005760| 65 73 69 67 6e 61 74 6f | 72 29 0d 09 7b 20 72 65 |esignato|r)..{ re|
|00005770| 74 75 72 6e 20 3a 3a 45 | 6d 70 74 79 52 67 6e 28 |turn ::E|mptyRgn(|
|00005780| 64 65 73 69 67 6e 61 74 | 6f 72 29 3b 20 7d 0d 69 |designat|or); }.i|
|00005790| 6e 6c 69 6e 65 20 76 6f | 69 64 20 47 52 49 44 56 |nline vo|id GRIDV|
|000057a0| 49 45 57 44 45 53 49 47 | 4e 41 54 4f 52 5f 53 45 |IEWDESIG|NATOR_SE|
|000057b0| 54 28 52 67 6e 48 61 6e | 64 6c 65 20 73 72 63 64 |T(RgnHan|dle srcd|
|000057c0| 65 73 69 67 6e 61 74 6f | 72 2c 20 52 67 6e 48 61 |esignato|r, RgnHa|
|000057d0| 6e 64 6c 65 20 74 61 72 | 67 64 65 73 69 67 6e 61 |ndle tar|gdesigna|
|000057e0| 74 6f 72 29 0d 09 7b 20 | 3a 3a 43 6f 70 79 52 67 |tor)..{ |::CopyRg|
|000057f0| 6e 28 73 72 63 64 65 73 | 69 67 6e 61 74 6f 72 2c |n(srcdes|ignator,|
|00005800| 20 74 61 72 67 64 65 73 | 69 67 6e 61 74 6f 72 29 | targdes|ignator)|
|00005810| 3b 20 7d 0d 09 0d 23 64 | 65 66 69 6e 65 20 50 41 |; }...#d|efine PA|
|00005820| 47 45 5f 49 4e 54 45 52 | 49 4f 52 28 29 20 28 66 |GE_INTER|IOR() (f|
|00005830| 50 61 67 65 41 72 65 61 | 73 2e 74 68 65 49 6e 74 |PageArea|s.theInt|
|00005840| 65 72 69 6f 72 29 0d 0d | 23 64 65 66 69 6e 65 20 |erior)..|#define |
|00005850| 43 4f 4d 50 41 52 45 4f | 42 4a 20 54 4f 62 6a 65 |COMPAREO|BJ TObje|
|00005860| 63 74 0d 0d 23 69 66 64 | 65 66 20 4d 41 43 41 50 |ct..#ifd|ef MACAP|
|00005870| 50 5f 33 5f 33 0d 23 64 | 65 66 69 6e 65 20 41 50 |P_3_3.#d|efine AP|
|00005880| 50 4c 45 45 56 45 4e 54 | 50 54 52 20 54 41 70 70 |PLEEVENT|PTR TApp|
|00005890| 6c 65 45 76 65 6e 74 2a | 0d 23 65 6c 73 65 20 0d |leEvent*|.#else .|
|000058a0| 2f 2f 20 4d 61 63 41 70 | 70 20 33 2e 31 0d 23 64 |// MacAp|p 3.1.#d|
|000058b0| 65 66 69 6e 65 20 44 6f | 53 63 72 69 70 74 43 6f |efine Do|ScriptCo|
|000058c0| 6d 6d 61 6e 64 09 44 6f | 41 70 70 6c 65 43 6f 6d |mmand.Do|AppleCom|
|000058d0| 6d 61 6e 64 0d 23 64 65 | 66 69 6e 65 20 41 50 50 |mand.#de|fine APP|
|000058e0| 4c 45 45 56 45 4e 54 50 | 54 52 20 63 6f 6e 73 74 |LEEVENTP|TR const|
|000058f0| 20 41 70 70 6c 65 45 76 | 65 6e 74 26 0d 23 65 6e | AppleEv|ent&.#en|
|00005900| 64 69 66 0d 0d 23 65 6e | 64 69 66 0d 0d 2f 2f 3d |dif..#en|dif..//=|
|00005910| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005920| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005930| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005940| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005950| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005960| 3d 3d 3d 3d 3d 3d 3d 0d | 0d 0d 23 65 6e 64 69 66 |=======.|..#endif|
|00005970| 20 2f 2f 20 5f 5f 54 65 | 6d 70 6c 61 74 65 43 6f | // __Te|mplateCo|
|00005980| 6d 70 61 74 69 62 69 6c | 69 74 79 5f 5f 0d 00 00 |mpatibil|ity__...|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 00 00 01 00 00 00 02 0a | 00 00 01 0a 00 00 00 5c |........|.......\|
|00005a10| 28 28 61 29 2c 20 28 62 | 29 29 20 20 20 0d 23 64 |((a), (b|)) .#d|
|00005a20| 65 66 69 6e 65 20 4d 61 | 78 28 61 2c 62 29 20 20 |efine Ma|x(a,b) |
|00005a30| 17 54 65 6d 70 6c 61 74 | 65 43 6f 6d 70 61 74 69 |.Templat|eCompati|
|00005a40| 62 69 6c 69 74 79 2e 68 | 77 65 77 73 73 69 74 6c |bility.h|wewssitl|
|00005a50| 02 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 b0 18 e8 72 00 00 | 59 22 00 00 02 af 20 20 |.....r..|Y".... |
|00005a80| 20 20 4d 69 6e 4d 61 78 | 5f 41 43 28 28 6d 69 6e | MinMax|_AC((min|
|00005a90| 56 61 6c 29 2c 20 28 65 | 78 70 72 65 73 73 69 6f |Val), (e|xpressio|
|00005aa0| 6e 29 2c 20 28 6d 61 78 | 56 61 6c 29 29 20 20 20 |n), (max|Val)) |
|00005ab0| 0d 20 0d 23 64 65 66 69 | 6e 65 20 44 69 73 70 6f |. .#defi|ne Dispo|
|00005ac0| 73 65 49 66 48 61 6e 64 | 6c 65 28 61 48 61 6e 64 |seIfHand|le(aHand|
|00005ad0| 6c 65 29 20 09 09 44 69 | 73 70 6f 73 65 49 66 48 |le) ..Di|sposeIfH|
|00005ae0| 61 6e 64 6c 65 5f 41 43 | 28 28 61 48 61 6e 64 6c |andle_AC|((aHandl|
|00005af0| 65 29 29 0d 23 64 65 66 | 69 6e 65 20 44 69 73 70 |e)).#def|ine Disp|
|00005b00| 00 00 00 49 13 04 80 01 | 00 00 06 31 33 2e 30 2e |...I....|...13.0.|
|00005b10| 34 3b 4d 61 63 41 70 70 | aa 20 52 65 6c 65 61 73 |4;MacApp|. Releas|
|00005b20| 65 20 31 33 20 55 70 64 | 61 74 65 20 34 2c 20 a9 |e 13 Upd|ate 4, .|
|00005b30| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|00005b40| 20 49 6e 63 2e 20 31 39 | 38 34 2d 39 38 00 00 00 | Inc. 19|84-98...|
|00005b50| 49 13 04 80 01 00 00 06 | 31 33 2e 30 2e 34 3b 4d |I.......|13.0.4;M|
|00005b60| 61 63 41 70 70 aa 20 52 | 65 6c 65 61 73 65 20 31 |acApp. R|elease 1|
|00005b70| 33 20 55 70 64 61 74 65 | 20 34 2c 20 a9 20 41 70 |3 Update| 4, . Ap|
|00005b80| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00005b90| 63 2e 20 31 39 38 34 2d | 39 38 00 00 00 6c 9f cd |c. 1984-|98...l..|
|00005ba0| 2a 77 3f e5 32 30 00 04 | 00 00 00 01 00 00 00 00 |*w?.20..|........|
|00005bb0| b2 3b ca 2c b2 32 d9 d4 | b2 3b b9 c1 00 21 f3 3b |.;.,.2..|.;...!.;|
|00005bc0| 00 01 00 1b 00 01 15 4f | 67 68 61 6d ba 52 65 6c |.......O|gham.Rel|
|00005bd0| 65 61 73 65 53 63 72 69 | 70 74 73 ba 00 0d 4d 69 |easeScri|pts...Mi|
|00005be0| 6b 65 20 52 6f 73 73 65 | 74 74 69 00 01 31 00 0d |ke Rosse|tti..1..|
|00005bf0| 56 65 72 73 46 6f 72 4d | 61 63 41 70 70 00 07 43 |VersForM|acApp..C|
|00005c00| 72 65 61 74 65 64 00 00 | 00 00 00 00 01 00 00 00 |reated..|........|
|00005c10| 02 0a 00 00 01 0a 00 00 | 00 5c 04 21 de d0 34 84 |........|.\.!..4.|
|00005c20| 00 00 00 1c 00 52 00 01 | 76 65 72 73 00 01 00 12 |.....R..|vers....|
|00005c30| 63 6b 69 64 00 00 00 2a | 00 01 ff ff 20 00 00 00 |ckid...*|.... ...|
|00005c40| 04 21 de 60 00 02 ff ff | 20 00 00 4d 04 21 df 64 |.!.`....| ..M.!.d|
|00005c50| 00 80 00 00 00 00 00 9a | 04 21 df 20 09 50 72 6f |........|.!. .Pro|
|00005c60| 6a 65 63 74 6f 72 00 00 | 00 00 00 00 00 00 00 00 |jector..|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+